feat(SW-343): rename button and useSearchParams

This commit is contained in:
Pontus Dreij
2024-11-06 08:55:46 +01:00
parent 399c23ea02
commit 32a5b8f3aa
4 changed files with 7 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ import {
} from "@/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-hotel/utils"
import HotelCardListing from "@/components/HotelReservation/HotelCardListing"
import HotelFilter from "@/components/HotelReservation/SelectHotel/HotelFilter"
import MobileButtonContainer from "@/components/HotelReservation/SelectHotel/MobileButtonContainer"
import MobileMapButtonContainer from "@/components/HotelReservation/SelectHotel/MobileMapButtonContainer"
import {
generateChildrenString,
getHotelReservationQueryParams,
@@ -84,7 +84,7 @@ export default async function SelectHotelPage({
<ChevronRightIcon color="burgundy" />
</Link>
</div>
<MobileButtonContainer city={searchParams.city} />
<MobileMapButtonContainer city={searchParams.city} />
<HotelFilter filters={filterList} />
</section>
<HotelCardListing hotelData={hotels} />