fix: cancel button not working on payment page (#10006)
This commit is contained in:
parent
c69c9d6314
commit
6d19cc22a5
|
@ -115,7 +115,9 @@ const PaymentForm = (props: Props) => {
|
|||
<Button
|
||||
color="minimal"
|
||||
disabled={!holdAcknowledged || ["processing", "error"].includes(state.status)}
|
||||
id="cancel">
|
||||
id="cancel"
|
||||
onClick={() => router.back()}
|
||||
>
|
||||
<span id="button-text">{t("cancel")}</span>
|
||||
</Button>
|
||||
<Button
|
||||
|
|
Loading…
Reference in New Issue
Block a user