Skip to content

Commit

Permalink
Fixing code styling in stripe-payment-form.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BenedekFarkas committed Dec 12, 2024
1 parent 58bd89a commit 7f25b64
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ window.stripePaymentForm = function stripePaymentForm(
result = await stripe.confirmPayment(confirmPaymentOptions);

displayError(result.error);
} catch (error) {
}
catch (error) {
result = { error };
displayError(result.error);
}
Expand Down

0 comments on commit 7f25b64

Please sign in to comment.