import { createAuthClient } from "better-auth/react" export const authClient = createAuthClient({ baseURL: import.meta.env.VITE_AUTH_URL ?? "http://localhost:3001", basePath: "/auth", }) export const { useSession, signIn, signUp, signOut } = authClient