mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-27 18:05:41 -04:00
9 lines
233 B
TypeScript
9 lines
233 B
TypeScript
import { env } from "@/lib/env";
|
|
import { createAuthClient } from "better-auth/react";
|
|
|
|
export const authClient = createAuthClient({
|
|
baseURL: env.NEXT_PUBLIC_BASE_URL,
|
|
});
|
|
|
|
export const { signIn, signUp, useSession } = authClient;
|