Files
egovframe-msa-edu/frontend/portal/src/stores/user.ts
2021-10-21 09:03:17 +09:00

19 lines
314 B
TypeScript

import { atom } from 'recoil'
export interface IUser {
email: string
userId: string
userName: string
googleId?: string
kakaoId?: string
naverId?: string
isSocialUser: boolean
hasPassword: boolean
verification?: any
}
export const userAtom = atom<IUser>({
key: 'userAtom',
default: null,
})