chore: [app dir bootstrapping 4.1] check nullability of navigation hook return values part 2 (#12065)
Co-authored-by: Omar López <[email protected]>
This commit is contained in:
1 parent
0ae6506bc1
commit
a9535d3fd4
4 files changed
+7
-7
No files matched your search
@@ -94,7 +94,7 @@ const PaymentForm = (props: Props) => {
|
||||
location?: string;
|
||||
} = {
|
||||
uid: props.booking.uid,
|
||||
email: searchParams.get("email"),
|
||||
email: searchParams?.get("email"),
|
||||
};
|
||||
if (paymentOption === "HOLD" && "setupIntent" in props.payment.data) {
|
||||
payload = await stripe.confirmSetup({
|
||||
|
||||
Reference in new issue
Block a user