mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
demo: fix type errors
This commit is contained in:
@@ -116,7 +116,9 @@ export default function SignIn() {
|
||||
{
|
||||
onRequest: () => setLoading(true),
|
||||
onResponse: () => setLoading(false),
|
||||
onError: (ctx) => toast.error(ctx.error.message),
|
||||
onError: (ctx) => {
|
||||
toast.error(ctx.error.message);
|
||||
},
|
||||
},
|
||||
);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user