fix(SW-1111) moved MapContainer

This commit is contained in:
Pontus Dreij
2024-12-09 11:29:13 +01:00
parent b14a1a7097
commit 05cd62e339

View File

@@ -43,16 +43,16 @@ export default async function SelectHotelMapPage({
return (
<div className={styles.main}>
<Suspense key={city.id} fallback={<SelectHotelMapContainerSkeleton />}>
<MapContainer>
<MapContainer>
<Suspense key={city.id} fallback={<SelectHotelMapContainerSkeleton />}>
<SelectHotelMapContainer
city={city}
searchParams={searchParams}
adultsInRoom={adultsInRoom}
childrenInRoom={childrenInRoom}
/>
</MapContainer>
</Suspense>
</Suspense>
</MapContainer>
</div>
)
}