Skip to content

Commit

Permalink
[🚨 fix] ν™ˆ νŽ˜μ΄μ§€ ν•˜μ΄λ“œλ ˆμ΄μ…˜ μ—λŸ¬ 방지λ₯Ό μœ„ν•œ κΈ°λ³Έ κ°’ μΆ”κ°€
Browse files Browse the repository at this point in the history
  • Loading branch information
sryung1225 committed Apr 14, 2024
1 parent 695be97 commit 337b8ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/home/RecruitingChallengeCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export default function RecruitingChallengeCard({
isFree,
}: IRecruitingChallenge) {
const caculateRecruitDDay = (date: string) => {
const dDay = calculateDDay(date) - 1;
let dDay = -1;
dDay = calculateDDay(date) - 1;
let dDayStr;
if (dDay < 0) {
dDayStr = 'λͺ¨μ§‘ 마감';
Expand Down

0 comments on commit 337b8ae

Please sign in to comment.