pronounss/frontend/lib/state.ts

8 lines
154 B
TypeScript
Raw Normal View History

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