✨ frontend add
This commit is contained in:
18
frontend/portal/src/stores/user.ts
Normal file
18
frontend/portal/src/stores/user.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
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,
|
||||
})
|
||||
Reference in New Issue
Block a user