Merged in fix/hotelreservation-skeletons (pull request #1270)

fix: skeletons in hotelreservation key includes all search params

* fix: skeletons in hotelreservation key includes all search params


Approved-by: Joakim Jäderberg
This commit is contained in:
Linus Flood
2025-02-06 13:30:18 +00:00
parent c62ebb83bb
commit 9ad8d39712
3 changed files with 16 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ export default async function SelectHotelPage({
return (
<Suspense
key={`${searchParams.name}-${searchParams.fromDate}-${searchParams.toDate}-${roomKey}`}
key={`${searchParams.city}-${searchParams.fromDate}-${searchParams.toDate}-${roomKey}`}
fallback={<SelectHotelSkeleton />}
>
<SelectHotel params={params} searchParams={searchParams} />