mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-08 20:37:44 +00:00
demo: fix types
This commit is contained in:
@@ -350,8 +350,8 @@ export default function UserCard(props: {
|
|||||||
setIsSignOut(true);
|
setIsSignOut(true);
|
||||||
await signOut({
|
await signOut({
|
||||||
fetchOptions: {
|
fetchOptions: {
|
||||||
body: {
|
onSuccess() {
|
||||||
callbackURL: "/",
|
router.push("/");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import {
|
|||||||
bearer,
|
bearer,
|
||||||
organization,
|
organization,
|
||||||
passkey,
|
passkey,
|
||||||
phoneNumber,
|
|
||||||
twoFactor,
|
twoFactor,
|
||||||
admin,
|
admin,
|
||||||
} from "better-auth/plugins";
|
} from "better-auth/plugins";
|
||||||
|
|||||||
Reference in New Issue
Block a user