Skip to content

Commit

Permalink
feat: dday detail page 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyo-4 committed May 21, 2024
1 parent 6119c35 commit d73508d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/JDDetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ const JDDetailPage: React.FC = () => {
<JobTopTitleBox>
{jdData.writeStatus !== "CLOSED" && (
<div className="job_detail_dday">
{"D-" + jdData.remainingDate}
{parseInt(jdData.remainingDate) <= 0
? "D-DAY"
: "D-" + jdData.remainingDate}
</div>
)}
<div className="job_detail_title">{jdData.title}</div>
Expand Down

0 comments on commit d73508d

Please sign in to comment.