pronounsfu/frontend/lib/state.ts

8 lines
154 B
TypeScript

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