mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-05 15:44:28 +00:00
refactor(monorepo): decouple api and webui into workspaces packages
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { createAuthClient } from 'better-auth/react'
|
||||
|
||||
export const authClient = createAuthClient({
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
baseURL: window.location.origin,
|
||||
})
|
||||
|
||||
export const { signIn, signUp, useSession, signOut } = authClient
|
||||
Reference in New Issue
Block a user