chore: [app dir bootstrapping 4] check nullability of navigation hook return values (#12005)

This commit is contained in:
Greg Pabian authored and GitHub committed 2023-10-20 16:47:05 -07:00
1 parent eac45c5e23
commit 39cfe18ffe
28 files changed
+114 -86

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ export const useBookingSuccessRedirect = () => {
...query,
...bookingExtraParams,
},
searchParams,
searchParams: searchParams ?? undefined,
});
window.parent.location.href = `${url.toString()}?${newSearchParams.toString()}`;
return;