Skip to content

Commit

Permalink
fix: loginId -> nickname 으로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ww8007 committed Jul 23, 2023
1 parent 184aad3 commit 67912b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/friend/api/friends.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface GETFollowingListResponse {
}
export interface FollowingInfo {
memberId: number;
loginId: string;
nickname: string;
emoji: string;
}

Expand Down Expand Up @@ -78,7 +78,7 @@ export const useGETFollowingListQuery = (
// 팔로워 리스트 API
interface FollowerInfo {
memberId: number;
loginId: string;
nickname: string;
isFollowing: boolean;
emoji: string;
}
Expand Down
4 changes: 2 additions & 2 deletions src/friend/ui/Friends.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Friends = () => {
key={info.memberId}
id={info.memberId}
memberId={memberId}
name={info.loginId}
name={info.nickname}
profileEmoji={info.emoji}
isFollowing={true}
/>
Expand All @@ -64,7 +64,7 @@ const Friends = () => {
key={info.memberId}
id={info.memberId}
memberId={memberId}
name={info.loginId}
name={info.nickname}
profileEmoji={info.emoji}
isFollowing={info.isFollowing}
/>
Expand Down

1 comment on commit 67912b5

@vercel
Copy link

@vercel vercel bot commented on 67912b5 Jul 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.