chore(root): migrate to biome
This commit is contained in:
@@ -31,7 +31,7 @@ export function handleError(error: TRPCClientErrorBase<any>) {
|
||||
}
|
||||
|
||||
export function handleErrorToastOptions(options: ExternalToast) {
|
||||
return function (error: TRPCClientErrorBase<any>) {
|
||||
return (error: TRPCClientErrorBase<any>) => {
|
||||
toast('Error', {
|
||||
description: error.message,
|
||||
...options,
|
||||
|
||||
Reference in New Issue
Block a user