Skip to content

Commit

Permalink
fix: change variable about friend api data (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanghyun98 authored Sep 2, 2023
1 parent 538abd0 commit 6940422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const SelectFriendStep = ({ onNextStep }: SelectFriendStepProps) => {
const groupList = clubList?.map((club: any) => ({
id: club.id,
name: club.clubName,
profileImg: club.clubMemberList.map(
profileImg: club.members.map(
(member: FriendInfo) => member.profileImg ?? '',
),
}));
Expand Down
2 changes: 1 addition & 1 deletion src/pages/friend/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const FriendTab = () => {
const groupList = clubList?.map((club: any) => ({
id: club.id,
name: club.clubName,
profileImg: club.clubMemberList.map(
profileImg: club.members.map(
(member: FriendInfo) => member.profileImg ?? '',
),
}));
Expand Down

0 comments on commit 6940422

Please sign in to comment.