fix: prefillFormParams guest type (#13798)
This commit is contained in:
1 parent
83ceb46cca
commit
fa9a099dd6
1 file changed
+1
-1
@@ -69,7 +69,7 @@ export const BookerWebWrapper = (props: BookerWebWrapperAtomProps) => {
|
||||
name:
|
||||
searchParams?.get("name") ||
|
||||
(firstNameQueryParam ? `${firstNameQueryParam} ${lastNameQueryParam}` : null),
|
||||
guests: searchParams?.getAll("guests") || searchParams?.getAll("guest"),
|
||||
guests: (searchParams?.getAll("guests") || searchParams?.getAll("guest")) ?? [],
|
||||
};
|
||||
}, [searchParams, firstNameQueryParam, lastNameQueryParam]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user