From 409894a436b317217399e1c2e85dcf672c9d01c6 Mon Sep 17 00:00:00 2001 From: ghdtjgus76 Date: Wed, 14 Aug 2024 14:26:16 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20dashboardApi=20currentRecruitment=20?= =?UTF-8?q?=EC=98=88=EC=99=B8=20=EC=B2=98=EB=A6=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/client/apis/dashboardApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/apis/dashboardApi.ts b/apps/client/apis/dashboardApi.ts index 9d37c148..832d7f6d 100644 --- a/apps/client/apis/dashboardApi.ts +++ b/apps/client/apis/dashboardApi.ts @@ -21,7 +21,7 @@ export const dashboardApi = { const memberRole = response.data?.member.role; const currentRecruitmentOpen = - response.data?.currentRecruitmentRound.period.open; + response.data?.currentRecruitmentRound?.period.open || false; return { memberRole, currentRecruitmentOpen }; },