diff options
author | Sebastian <sebasjm@gmail.com> | 2023-01-17 16:01:04 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-01-17 16:01:28 -0300 |
commit | 420493b3e608f3b245ebae308a318883f9f605f7 (patch) | |
tree | 9d30255d66dcda7c7fabc190e3b372369a66540a /packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts | |
parent | 252382a9375ea05f62389e33f111c3fa008d8fff (diff) | |
download | wallet-core-420493b3e608f3b245ebae308a318883f9f605f7.tar.xz |
use payto builder and prevent showing cancel for non-payment
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts b/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts index f7383d483..50e71c144 100644 --- a/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts +++ b/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts @@ -128,7 +128,7 @@ export function useComponentState({ }), }, accountByType, - deleteAccount, + deleteAccount: pushAlertOnError(deleteAccount), onAccountAdded: { onClick: unableToAdd ? undefined : pushAlertOnError(addAccount), }, |