refactor: replace next-auth with better-auth core and client

This commit is contained in:
2026-04-06 22:41:11 -04:00
parent febc57b240
commit 08a894577b
4 changed files with 31 additions and 33 deletions

5
src/lib/auth-client.ts Normal file
View File

@@ -0,0 +1,5 @@
import { createAuthClient } from "better-auth/react";
export const authClient = createAuthClient();
export const { useSession, signIn, signOut } = authClient;