fix: make sure session storage is cleaner whenever user is no longer in the booking flow
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
/**
|
||||
* @param {Lang} lang
|
||||
*/
|
||||
function base(lang) {
|
||||
export function hotelreservation(lang) {
|
||||
return `/${lang}/hotelreservation`
|
||||
}
|
||||
|
||||
@@ -13,47 +13,47 @@ function base(lang) {
|
||||
* @param {Lang} lang
|
||||
*/
|
||||
export function bookingConfirmation(lang) {
|
||||
return `${base(lang)}/booking-confirmation`
|
||||
return `${hotelreservation(lang)}/booking-confirmation`
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Lang} lang
|
||||
*/
|
||||
export function details(lang) {
|
||||
return `${base(lang)}/details`
|
||||
return `${hotelreservation(lang)}/details`
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Lang} lang
|
||||
*/
|
||||
export function payment(lang) {
|
||||
return `${base(lang)}/payment`
|
||||
return `${hotelreservation(lang)}/payment`
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Lang} lang
|
||||
*/
|
||||
export function selectBed(lang) {
|
||||
return `${base(lang)}/select-bed`
|
||||
return `${hotelreservation(lang)}/select-bed`
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Lang} lang
|
||||
*/
|
||||
export function selectHotel(lang) {
|
||||
return `${base(lang)}/select-hotel`
|
||||
return `${hotelreservation(lang)}/select-hotel`
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Lang} lang
|
||||
*/
|
||||
export function selectHotelMap(lang) {
|
||||
return `${base(lang)}/select-hotel/map`
|
||||
return `${hotelreservation(lang)}/select-hotel/map`
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Lang} lang
|
||||
*/
|
||||
export function selectRate(lang) {
|
||||
return `${base(lang)}/select-rate`
|
||||
return `${hotelreservation(lang)}/select-rate`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user