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: [],