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:
Greg PabianandOmar López authored and GitHub committed 2023-10-24 20:52:59 +00:00
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({