refactor: replace next-auth with better-auth core and client
This commit is contained in:
1 parent
febc57b240
commit
08a894577b
4 files changed
+31
-33
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import { createAuthClient } from "better-auth/react";
|
||||
|
||||
export const authClient = createAuthClient();
|
||||
|
||||
export const { useSession, signIn, signOut } = authClient;
|
||||
Reference in new issue
Block a user