Merged in fix/remove-0-length-country-page (pull request #1658)
fix: remove empty length * fix: remove empty length Approved-by: Erik Tiekstra Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -52,12 +52,12 @@ export default async function DestinationCountryPage() {
|
|||||||
variant={PageContentTypeEnum.destinationCityPage}
|
variant={PageContentTypeEnum.destinationCityPage}
|
||||||
/>
|
/>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
{images?.length && (
|
{images?.length ? (
|
||||||
<TopImages
|
<TopImages
|
||||||
images={images}
|
images={images}
|
||||||
destinationName={translatedCountry}
|
destinationName={translatedCountry}
|
||||||
/>
|
/>
|
||||||
)}
|
) : null}
|
||||||
</header>
|
</header>
|
||||||
<main className={styles.mainContent}>
|
<main className={styles.mainContent}>
|
||||||
<CityListing />
|
<CityListing />
|
||||||
|
|||||||
Reference in New Issue
Block a user