Skip to content

Commit

Permalink
Merge pull request #214 from mismith0227/feature/edit-since
Browse files Browse the repository at this point in the history
開始日がない場合は非表示
  • Loading branch information
mismith0227 authored Sep 27, 2024
2 parents bd59719 + 138878e commit cd6b4a2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions components/pages/PhotoContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,15 @@ export const PhotoContainer = ({
<StyledHeading>{currentCategoryName}</StyledHeading>

<DateWrap>
{sinceAt && (
<DateItem>
<DateLabel>撮影開始:</DateLabel>
{dayjs(sinceAt).format('YYYY年M月')}
</DateItem>
)}

<DateItem>
<DateLabel>撮影開始:</DateLabel>
{dayjs(sinceAt).format('YYYY年M月')}
</DateItem>
<DateItem>
<DateLabel>更新:</DateLabel>
<DateLabel>最終更新:</DateLabel>
{dayjs(updatedAt).format('YYYY年M月')}
</DateItem>
</DateWrap>
Expand Down

0 comments on commit cd6b4a2

Please sign in to comment.