Files
aviation/ui/src/state/auth.ts
2023-11-18 08:45:56 -05:00

13 lines
266 B
TypeScript

import { User } from '@/api/auth.types';
import { atom } from 'recoil';
export const userState = atom({
key: 'userState',
default: undefined as User | undefined
});
export const isAuthenticatedState = atom({
key: 'isAuthenticatedState',
default: false
});