fix(SW-1143) Trigger Suspense on more params
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}-${selectHotelParamsObject.fromDate}-${selectHotelParamsObject.toDate}-${adultsParams}-${childrenParams}`}
|
||||
fallback={<SelectHotelSkeleton />}
|
||||
>
|
||||
<SelectHotel
|
||||
city={city}
|
||||
params={params}
|
||||
|
||||
Reference in New Issue
Block a user