From 5a0edc9187a31050d1188af74c3f0d1dcb3056c2 Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Mon, 10 Feb 2025 14:31:41 +0000 Subject: [PATCH] Merged in fix/hoteinfocard-pass-hotel (pull request #1295) feat:hotel info card - pass hoteldata since we already fetching it on page level * feat:hotel info card - pass hoteldata since we already fetching it on page level --- .../(standard)/select-rate/page.tsx | 15 +++------------ .../SelectRate/HotelInfoCard/index.tsx | 13 +------------ .../hotelReservation/selectRate/hotelInfoCard.ts | 10 ++-------- 3 files changed, 6 insertions(+), 32 deletions(-) diff --git a/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx index 04e79d30c..1bd752ce6 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx @@ -38,6 +38,7 @@ export default async function SelectRatePage({ const hotelData = await getHotel({ hotelId: hotel.id, + isCardOnlyPayment: false, language: params.lang, }) @@ -83,18 +84,8 @@ export default async function SelectRatePage({ return ( <> - } - > - + }> +