Skip to content

Commit

Permalink
Merge pull request #191 from KW-MUJI/develop
Browse files Browse the repository at this point in the history
style(main): 설문조사 날짜표시 변경
  • Loading branch information
goodsmell authored Dec 8, 2024
2 parents 365e3e7 + b1a9f27 commit 4bc4cb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/mainpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,9 @@ const MainPage = () => {
<span className={styles.dot}></span>
<span className={styles.text}>{survey.title}</span>
<span className={styles.dday}>
{formatLastModified(survey.createdAt)}
{survey.isOngoing === false
? "마감"
: calculateDDay(survey.deadlineAt)}
</span>
</div>
))}
Expand Down

0 comments on commit 4bc4cb3

Please sign in to comment.