fix: missing ID photo date
This commit is contained in:
parent
7e9fd148f3
commit
31c57d3a2c
4 changed files with 16 additions and 15 deletions
|
|
@ -38,19 +38,17 @@ const PhotosCarousel = memo(({ photosData, timezone }) => {
|
|||
)}
|
||||
<div className={classes.secondRow}>
|
||||
<div>
|
||||
{photosData[currentIndex].date && (
|
||||
<>
|
||||
<Label>Date</Label>
|
||||
<div>
|
||||
{photosData &&
|
||||
formatDate(
|
||||
photosData[currentIndex]?.date,
|
||||
timezone,
|
||||
'yyyy-MM-dd HH:mm'
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
<>
|
||||
<Label>Date</Label>
|
||||
<div>
|
||||
{photosData &&
|
||||
formatDate(
|
||||
photosData[currentIndex]?.date,
|
||||
timezone,
|
||||
'yyyy-MM-dd HH:mm'
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
</div>
|
||||
<div>
|
||||
<Label>Taken by</Label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue