fix(SW-1111) Fix issues with map

This commit is contained in:
Pontus Dreij
2025-01-10 14:52:59 +01:00
parent 5d5de0de31
commit 185dc3e8cc
5 changed files with 20 additions and 6 deletions

View File

@@ -115,7 +115,7 @@ export default function SelectHotelContent({
className={styles.closeButton}
asChild
>
<Link href={selectHotel(lang)} keepSearchParams>
<Link href={selectHotel(lang)} keepSearchParams prefetch>
<CloseIcon color="burgundy" />
{intl.formatMessage({ id: "Close the map" })}
</Link>
@@ -138,7 +138,10 @@ export default function SelectHotelContent({
<CloseLargeIcon />
</Link>
</Button>
<FilterAndSortModal filters={filterList} />
<FilterAndSortModal
filters={filterList}
setShowSkeleton={setShowSkeleton}
/>
</div>
{showSkeleton ? (