Skip to content

Commit

Permalink
fix: 모집 기간 마감 예외처리
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene028 committed Aug 7, 2024
1 parent aada2ed commit 628fb39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/myPage/ApproveBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const ApproveBox = ({
};
return (
<>
{currentRecruitment.period.open ? (
{currentRecruitment ? (
<BoxWrapper
onClick={() => {
if (role === 'ASSOCIATE') handleBottomSheet();
Expand All @@ -66,8 +66,8 @@ export const ApproveBox = ({
) : (
<Box
variant="warn"
text="학회원 모집이 마감되었어요"
subText="2학기 모집 소식을 받고 싶으시다면 @gdsc.hongik 을 팔로우 해주세요."
text="지금은 모집 기간이 아니에요."
subText="모집 기간에 다시 확인해주세요!"
status="error"
/>
)}
Expand Down

0 comments on commit 628fb39

Please sign in to comment.