feat: make steps of enter details flow dynamic depending on data
This commit is contained in:
@@ -27,7 +27,7 @@ export default function MobileMapButtonContainer({
|
||||
<div className={styles.buttonContainer}>
|
||||
<Button asChild variant="icon" intent="secondary" size="small">
|
||||
<Link
|
||||
href={`${selectHotelMap[lang]}`}
|
||||
href={selectHotelMap(lang)}
|
||||
keepSearchParams
|
||||
color="burgundy"
|
||||
>
|
||||
|
||||
@@ -71,7 +71,7 @@ export default function SelectHotelMap({
|
||||
}
|
||||
|
||||
function handlePageRedirect() {
|
||||
router.push(`${selectHotel[lang]}?${searchParams.toString()}`)
|
||||
router.push(`${selectHotel(lang)}?${searchParams.toString()}`)
|
||||
}
|
||||
|
||||
const closeButton = (
|
||||
|
||||
Reference in New Issue
Block a user