Merged in fix/SW-1143-loading-select-hotel (pull request #1081)
Fix/SW-1143 loading select hotel Approved-by: Michael Zetterberg
This commit is contained in:
@@ -55,7 +55,10 @@ export default async function SelectHotelPage({
|
||||
}
|
||||
|
||||
return (
|
||||
<Suspense key={city.name} fallback={<SelectHotelSkeleton />}>
|
||||
<Suspense
|
||||
key={`${city.name}-${searchParams.fromDate}-${searchParams.toDate}-${adultsParams}-${childrenParams}`}
|
||||
fallback={<SelectHotelSkeleton />}
|
||||
>
|
||||
<SelectHotel
|
||||
city={city}
|
||||
params={params}
|
||||
|
||||
Reference in New Issue
Block a user