9b682c8af5
* replace next with vite * disable strictmode (it interferes with collaboration in dev mode)
6 lines
220 B
TypeScript
6 lines
220 B
TypeScript
import { atomWithStorage } from "jotai/utils";
|
|
|
|
import { ICurrentUserResponse } from "@/features/user/types/user.types";
|
|
|
|
export const currentUserAtom = atomWithStorage<ICurrentUserResponse | null>("currentUser", null);
|