fix: cancel button not working on payment page (#10006)

This commit is contained in:
Sai Krishna authored and GitHub committed 2023-07-10 15:58:38 +02:00
1 parent c69c9d6314
commit 6d19cc22a5
1 file changed
+3 -1
@@ -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