summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-02-19 14:41:13 -0300
committerSebastian <sebasjm@gmail.com>2024-02-19 14:48:28 -0300
commit12a7294ce9c35da82b052f472579c7fe9479ca84 (patch)
tree178a773d3600fe07e23f629435bea370974fad83
parenteb1500e517d475aad22cfe02c8a5c5c6acefe00a (diff)
downloadwallet-core-12a7294ce9c35da82b052f472579c7fe9479ca84.tar.gz
wallet-core-12a7294ce9c35da82b052f472579c7fe9479ca84.tar.bz2
wallet-core-12a7294ce9c35da82b052f472579c7fe9479ca84.zip
fix #8445
-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"