aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-10-29 19:55:05 -0300
committerSebastian <sebasjm@gmail.com>2022-10-29 19:55:05 -0300
commit5ed4d5d54da2bfac8eca3b58e51737c48e7d065f (patch)
treeacb60b4106e8a95d6d691bd12b48720b090df168 /packages/taler-wallet-webextension
parentfe6e9be70225cf2953822ff64b9e90066cab97ea (diff)
fix typo
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts2
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: [],