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}
/>
</Suspense>
{images?.length && (
{images?.length ? (
<TopImages
images={images}
destinationName={translatedCountry}
/>
)}
) : null}
</header>
<main className={styles.mainContent}>
<CityListing />