Merged in fix/BOOK-459-tracking-search (pull request #2984)

fix(BOOK-459): update searchTerm to city or hotelname

* fix(BOOK-459): update searchTerm to city or hotelname


Approved-by: Erik Tiekstra
This commit is contained in:
Bianca Widstam
2025-10-22 14:34:59 +00:00
parent acdc3dcec1
commit 76c353058b
17 changed files with 40 additions and 35 deletions

View File

@@ -41,6 +41,7 @@ type DetailsProviderProps = React.PropsWithChildren & {
searchParamsStr: string
user: User | null
vat: number
hotelName: string
roomCategories: RoomCategories
}
@@ -53,6 +54,7 @@ export default function EnterDetailsProvider({
searchParamsStr,
user,
vat,
hotelName,
roomCategories,
}: DetailsProviderProps) {
// This state is needed to be able to use defaultValues for
@@ -93,6 +95,7 @@ export default function EnterDetailsProvider({
isFlexRate: room.isFlexRate,
})),
vat,
hotelName,
roomCategories,
}