We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a627eb commit f52d572Copy full SHA for f52d572
1 file changed
src/recoil/ProfileViewer/userDetailsAtom.ts
@@ -2,12 +2,12 @@ import { atom } from 'recoil';
2
import type { UserInfoData } from '@apis/user/dto';
3
import imageBasic from '@assets/default/defaultProfile.svg';
4
5
-type BasicUserInfo = Pick<UserInfoData, 'userId' | 'nickname' | 'bio' | 'isFriend' | 'profilePictureUrl'>;
+type BasicUserInfo = Pick<UserInfoData, 'id' | 'nickname' | 'bio' | 'isFriend' | 'profilePictureUrl'>;
6
7
export const UserInfoAtom = atom<BasicUserInfo | null>({
8
key: 'UserInfoAtom',
9
default: {
10
- userId: -1,
+ id: -1,
11
nickname: '알 수 없음',
12
bio: '',
13
isFriend: false,
0 commit comments