feat(SW-1012): add length check for restaurant images
This commit is contained in:
@@ -31,6 +31,7 @@ export default async function RestaurantBarItem({
|
||||
<Title level="h3">{name}</Title>
|
||||
</Subtitle>
|
||||
</div>
|
||||
{visibleImages.length ? (
|
||||
<div className={styles.imageWrapper}>
|
||||
{visibleImages.map(({ metaData, imageSizes }) => (
|
||||
<Image
|
||||
@@ -43,6 +44,7 @@ export default async function RestaurantBarItem({
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
) : null}
|
||||
{openingDetails.length ? (
|
||||
<div className={styles.content}>
|
||||
<Subtitle type="two" asChild>
|
||||
|
||||
Reference in New Issue
Block a user