Skip to content

Commit

Permalink
Fix: noticeInfo가 있을때만 보여주도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
navyjeongs committed Dec 2, 2023
1 parent 17522a3 commit 50270f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function Home() {
{notice.noticeTitle}
</ItemLink>
</ItemHeader>
<span>{notice.noticeInfo.length ? `- ${notice.noticeInfo}` : ''}</span>
{notice.noticeInfo && <span>`- ${notice.noticeInfo}`</span>}
</Item>
);
})}
Expand Down

0 comments on commit 50270f0

Please sign in to comment.