From 7db79e5dd465335baf33c1afa65a99a05b9e3d91 Mon Sep 17 00:00:00 2001 From: Seok93 Date: Thu, 28 Nov 2024 14:13:59 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20#274=20=EA=B0=80=EC=9E=85=ED=98=84?= =?UTF-8?q?=ED=99=A9=20=EB=8C=80=EA=B8=B0=ED=98=84=ED=99=A9=20=ED=8C=80?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=20=ED=95=84=ED=84=B0=EB=A7=81=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/query/useTeamQuery.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/query/useTeamQuery.ts b/src/hooks/query/useTeamQuery.ts index 0c271a5e..945ba785 100644 --- a/src/hooks/query/useTeamQuery.ts +++ b/src/hooks/query/useTeamQuery.ts @@ -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 }; }