summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/demobank-ui/src/pages/WalletWithdrawForm.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx
index 196ee9d63..ecb3eb4fc 100644
--- a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx
+++ b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx
@@ -85,10 +85,12 @@ function OldWithdrawalForm({
wopid: bankState.currentWithdrawalOperationId,
});
return (
- <Attention type="warning" title={i18n.str`There is an operation already`}>
+ <Attention type="warning" title={i18n.str`There is an operation already`} onClose={() => {
+ updateBankState("currentWithdrawalOperationId", undefined);
+ }}>
<span ref={focus ? doAutoFocus : undefined} />
<i18n.Translate>
- Complete or cancel the operation in
+ Complete the operation in
</i18n.Translate>{" "}
<a
class="font-semibold text-yellow-700 hover:text-yellow-600"