Skip to content

Commit f52d572

Browse files
committed
Fix: 빌드 오류 해결
1 parent 7a627eb commit f52d572

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/recoil/ProfileViewer/userDetailsAtom.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import { atom } from 'recoil';
22
import type { UserInfoData } from '@apis/user/dto';
33
import imageBasic from '@assets/default/defaultProfile.svg';
44

5-
type BasicUserInfo = Pick<UserInfoData, 'userId' | 'nickname' | 'bio' | 'isFriend' | 'profilePictureUrl'>;
5+
type BasicUserInfo = Pick<UserInfoData, 'id' | 'nickname' | 'bio' | 'isFriend' | 'profilePictureUrl'>;
66

77
export const UserInfoAtom = atom<BasicUserInfo | null>({
88
key: 'UserInfoAtom',
99
default: {
10-
userId: -1,
10+
id: -1,
1111
nickname: '알 수 없음',
1212
bio: '',
1313
isFriend: false,

0 commit comments

Comments
 (0)