feat: make steps of enter details flow dynamic depending on data

This commit is contained in:
Simon Emanuelsson
2024-11-18 09:13:23 +01:00
parent 3c4907efce
commit 94f693c4f0
62 changed files with 959 additions and 659 deletions

View File

@@ -39,7 +39,7 @@ export default function HotelPriceList({
className={styles.button}
>
<Link
href={`${selectRate[lang]}?hotel=${hotelId}`}
href={`${selectRate(lang)}?hotel=${hotelId}`}
color="none"
keepSearchParams
>

View File

@@ -93,7 +93,7 @@ export default function HotelCard({
</address>
<Link
className={styles.addressMobile}
href={`${selectHotelMap[lang]}?selectedHotel=${hotelData.name}`}
href={`${selectHotelMap(lang)}?selectedHotel=${hotelData.name}`}
keepSearchParams
>
<Caption color="baseTextMediumContrast" type="underline">