diff options
author | Sebastian <sebasjm@gmail.com> | 2022-10-29 19:55:05 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-10-29 19:55:05 -0300 |
commit | 5ed4d5d54da2bfac8eca3b58e51737c48e7d065f (patch) | |
tree | acb60b4106e8a95d6d691bd12b48720b090df168 /packages/taler-wallet-webextension/src/wallet/ManageAccount | |
parent | fe6e9be70225cf2953822ff64b9e90066cab97ea (diff) | |
download | wallet-core-5ed4d5d54da2bfac8eca3b58e51737c48e7d065f.tar.xz |
fix typo
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/ManageAccount')
-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 ad8643133..0dc34c326 100644 --- a/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts +++ b/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts @@ -71,7 +71,7 @@ export function useComponentState( ? "that account is already present" : undefined; - const unableToAdd = !type || !alias || !!paytoUriError || !uri; + const unableToAdd = !type || !alias || paytoUriError !== undefined || uri !== undefined; const accountByType: AccountByType = { iban: [], |