Scheduling infrastructure for absolutely everyone.
fix: prefillFormParams guest type (#13798)
Morganfa9a099dd6c1
diff --git a/packages/atoms/booker/wrappers/BookerWebWrapper.tsx b/packages/atoms/booker/wrappers/BookerWebWrapper.tsxindex 3fffb53cbb9..c785353c033 100644--- a/packages/atoms/booker/wrappers/BookerWebWrapper.tsx+++ b/packages/atoms/booker/wrappers/BookerWebWrapper.tsx@@ -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]);