8 lines
154 B
TypeScript
8 lines
154 B
TypeScript
|
import { atom } from "recoil";
|
||
|
import { MeUser } from "./types";
|
||
|
|
||
|
export const userState = atom<MeUser | null>({
|
||
|
key: "userState",
|
||
|
default: null,
|
||
|
});
|