diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet')
6 files changed, 8 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts b/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts index 13ce322e9..e6e699ce3 100644 --- a/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts +++ b/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-non-null-assertion */ /* This file is part of GNU Taler (C) 2021 Taler Systems S.A. diff --git a/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.tsx b/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.tsx index a549bf59a..9d7a692a2 100644 --- a/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.tsx +++ b/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-non-null-assertion */ /* This file is part of GNU Taler (C) 2021 Taler Systems S.A. diff --git a/packages/taler-wallet-webextension/src/wallet/DepositPage.stories.tsx b/packages/taler-wallet-webextension/src/wallet/DepositPage.stories.tsx index cadd0c86d..edc2f971f 100644 --- a/packages/taler-wallet-webextension/src/wallet/DepositPage.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/DepositPage.stories.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-non-null-assertion */ /* This file is part of GNU Taler (C) 2021 Taler Systems S.A. diff --git a/packages/taler-wallet-webextension/src/wallet/DepositPage.tsx b/packages/taler-wallet-webextension/src/wallet/DepositPage.tsx index 375a03f86..335dfd3c7 100644 --- a/packages/taler-wallet-webextension/src/wallet/DepositPage.tsx +++ b/packages/taler-wallet-webextension/src/wallet/DepositPage.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-non-null-assertion */ /* This file is part of TALER (C) 2016 GNUnet e.V. @@ -162,7 +163,7 @@ export function useComponentState( onCalculateFee(selectedAccount, parsedAmount).then((result) => { setFee(result); }); - }, [amount]); + }, [amount, selectedAccount, parsedAmount, onCalculateFee]); const bs = balances.filter((b) => b.available.startsWith(currency)); const balance = diff --git a/packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx b/packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx index ce1bcbebe..ad8cb7db0 100644 --- a/packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx +++ b/packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx @@ -64,7 +64,7 @@ function useEndpointStatus<T>( } }, 500); setHandler(h); - }, [value]); + }, [value, setHandler, handler, onVerify]); return { error: dirty ? error : undefined, diff --git a/packages/taler-wallet-webextension/src/wallet/ProviderAddPage.tsx b/packages/taler-wallet-webextension/src/wallet/ProviderAddPage.tsx index e3a5b9cbe..ed4a91f12 100644 --- a/packages/taler-wallet-webextension/src/wallet/ProviderAddPage.tsx +++ b/packages/taler-wallet-webextension/src/wallet/ProviderAddPage.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-non-null-assertion */ /* This file is part of GNU Taler (C) 2021 Taler Systems S.A. @@ -112,7 +113,7 @@ export function SetUrlView({ setUrlError(true); setName(undefined); } - }, [value]); + }, [onVerify, value]); return ( <Fragment> <section> |