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:
Matilda Landström
2025-03-28 10:39:34 +00:00
parent 8b198d9719
commit a4df9596e0

View File

@@ -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 />