chore: update nextjs example

This commit is contained in:
Bereket Engida
2024-10-20 22:44:33 +03:00
parent 4edc4289e5
commit dbd91509a3
11 changed files with 517 additions and 53 deletions

View File

@@ -4,6 +4,7 @@ import {
passkeyClient,
twoFactorClient,
adminClient,
multiSessionClient,
} from "better-auth/client/plugins";
import { toast } from "sonner";
@@ -16,6 +17,7 @@ export const client = createAuthClient({
}),
passkeyClient(),
adminClient(),
multiSessionClient(),
],
fetchOptions: {
onError(e) {