mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 21:41:09 +10:00
Implement frontend auth and user features - WIP
This commit is contained in:
4
frontend/src/features/user/atoms/current-user-atom.ts
Normal file
4
frontend/src/features/user/atoms/current-user-atom.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import { atom } from "jotai";
|
||||
import { ICurrentUserResponse } from "@/features/user/types/user.types";
|
||||
|
||||
export const currentUserAtom = atom<ICurrentUserResponse | null>(null);
|
||||
Reference in New Issue
Block a user