-
+ }>
+
+
{images?.length && (
)}
diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationCountryPage/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationCountryPage/index.tsx
index cf5c3cb15..cb109137b 100644
--- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationCountryPage/index.tsx
+++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationCountryPage/index.tsx
@@ -1,3 +1,4 @@
+import { notFound } from "next/navigation"
import { Suspense } from "react"
import { getDestinationCountryPage } from "@/lib/trpc/memoizedRequests"
@@ -23,7 +24,7 @@ export default async function DestinationCountryPage() {
const pageData = await getDestinationCountryPage()
if (!pageData) {
- return null
+ return notFound()
}
const { tracking, destinationCountryPage, translatedCountry } = pageData
diff --git a/apps/scandic-web/components/ContentType/DestinationPage/TopImages/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/TopImages/index.tsx
index 190e28432..584a74b51 100644
--- a/apps/scandic-web/components/ContentType/DestinationPage/TopImages/index.tsx
+++ b/apps/scandic-web/components/ContentType/DestinationPage/TopImages/index.tsx
@@ -51,6 +51,7 @@ export default function TopImages({ images, destinationName }: TopImageProps) {
? setLightboxState({ open: true, activeIndex: index })
: null
}
+ priority
/>
)
})}