demo: fix types

This commit is contained in:
Bereket Engida
2024-10-14 15:15:52 +03:00
parent 749d900170
commit c68bb8a347
2 changed files with 2 additions and 3 deletions

View File

@@ -350,8 +350,8 @@ export default function UserCard(props: {
setIsSignOut(true); setIsSignOut(true);
await signOut({ await signOut({
fetchOptions: { fetchOptions: {
body: { onSuccess() {
callbackURL: "/", router.push("/");
}, },
}, },
}); });

View File

@@ -3,7 +3,6 @@ import {
bearer, bearer,
organization, organization,
passkey, passkey,
phoneNumber,
twoFactor, twoFactor,
admin, admin,
} from "better-auth/plugins"; } from "better-auth/plugins";