Skip to content

Commit

Permalink
Merge pull request #995 from sopt-makers/develop
Browse files Browse the repository at this point in the history
프로덕션 배포
  • Loading branch information
borimong authored Jan 26, 2025
2 parents 4fa941a + 85cc048 commit 0624955
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/page/detail/Information/constant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,13 @@ export const FlashDetailList = (detailData: GetFlashByIdResponse) => [
),
Content: () => {
const isSingleDay = detailData.flashTimingType === '당일';
const isPeriodNotDecided = detailData.flashTimingType.includes('협의 후 결정');
return (
<SDescription style={{ color: 'white' }}>
{`${dayjs(detailData.activityStartDate).format('YYYY. MM. DD (dd)')}${
isSingleDay ? '' : ` ~ ${dayjs(detailData.activityEndDate).format('YYYY. MM. DD (dd)')}`
}`}
{isSingleDay && (
{isPeriodNotDecided && (
<>
<Divider />
기간 중 협의 후 결정
Expand Down

0 comments on commit 0624955

Please sign in to comment.