2
0

fix(bot): pay button not submitting

This commit is contained in:
Baptiste Arnaud
2022-08-17 07:17:09 +02:00
parent dc5a38cacf
commit f9c16ce4c4

View File

@@ -175,6 +175,7 @@ const CheckoutForm = ({
/> />
{isPayButtonVisible && ( {isPayButtonVisible && (
<SendButton <SendButton
type="submit"
label={`${options.labels.button} ${amountLabel}`} label={`${options.labels.button} ${amountLabel}`}
isDisabled={isLoading || !stripe || !elements} isDisabled={isLoading || !stripe || !elements}
isLoading={isLoading} isLoading={isLoading}