diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet')
-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: [], |