Skip to content

Commit

Permalink
Fix: #274 가입현황 대기현황 팀목록 필터링 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Seok93 committed Nov 28, 2024
1 parent 86a27b5 commit 7db79e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/query/useTeamQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export function useReadTeams() {
},
});

const joinedTeamList = teamList.filter((team) => team.isPendingApproval === true);
const invitedTeamList = teamList.filter((team) => team.isPendingApproval === false);
const joinedTeamList = teamList.filter((team) => team.isPendingApproval === false);
const invitedTeamList = teamList.filter((team) => team.isPendingApproval === true);

return { joinedTeamList, invitedTeamList, teamList, isLoading, isError, error };
}
Expand Down

0 comments on commit 7db79e5

Please sign in to comment.