refactor(SW-337): conditional rendering of image titles

This commit is contained in:
Chuma McPhoy
2024-09-06 11:48:08 +02:00
parent 73b7892cfb
commit 1767fe2f4a
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ export default function FullView({
/>
<div className={styles.fullViewFooter}>
<Body color="white">{image.title}</Body>
{image.title && <Body color="white">{image.title}</Body>}
</div>
</motion.div>
</AnimatePresence>