From 96820ba89a7f42cfe45e4031f9b5bf8bcb9d5034 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Fri, 10 Jan 2025 12:01:42 +0100 Subject: [PATCH] feat(SW-1347): SidePeekProvider is now using '#s-' instead of '?s=' --- .../HotelPage/AmenitiesList/index.tsx | 2 +- .../CardGrid/ActivitiesCardGrid.tsx | 4 +-- .../HotelPage/IntroSection/index.tsx | 2 +- .../HotelPage/Rooms/RoomCard/index.tsx | 2 +- .../SidePeeks/SidePeekProvider/index.tsx | 32 ++++++++----------- hooks/useHash.tsx | 17 ++-------- utils/facilityCards.ts | 2 +- 7 files changed, 22 insertions(+), 39 deletions(-) diff --git a/components/ContentType/HotelPage/AmenitiesList/index.tsx b/components/ContentType/HotelPage/AmenitiesList/index.tsx index b55332f6a..fa0a42f41 100644 --- a/components/ContentType/HotelPage/AmenitiesList/index.tsx +++ b/components/ContentType/HotelPage/AmenitiesList/index.tsx @@ -43,7 +43,7 @@ export default async function AmenitiesList({ {intl.formatMessage({ id: "Read more about the hotel" })} diff --git a/components/ContentType/HotelPage/Rooms/RoomCard/index.tsx b/components/ContentType/HotelPage/Rooms/RoomCard/index.tsx index 1d8214451..a1054e826 100644 --- a/components/ContentType/HotelPage/Rooms/RoomCard/index.tsx +++ b/components/ContentType/HotelPage/Rooms/RoomCard/index.tsx @@ -55,7 +55,7 @@ export function RoomCard({ room }: RoomCardProps) {