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 }; },