diff options
author | Sebastian <sebasjm@gmail.com> | 2024-04-16 10:59:35 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-04-16 10:59:35 -0300 |
commit | 2b68c47e3b2389a9983dcadcc778fa1345799887 (patch) | |
tree | 9594561cf09867d1ec22f565a0063d7f1020b3f5 /packages/taler-wallet-webextension/src/hooks/useAsyncAsHook.ts | |
parent | 99f3a3b33c0284d35f2fe8be704b092048db90cc (diff) | |
download | wallet-core-2b68c47e3b2389a9983dcadcc778fa1345799887.tar.gz wallet-core-2b68c47e3b2389a9983dcadcc778fa1345799887.tar.bz2 wallet-core-2b68c47e3b2389a9983dcadcc778fa1345799887.zip |
fix supported wallet version
Diffstat (limited to 'packages/taler-wallet-webextension/src/hooks/useAsyncAsHook.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/hooks/useAsyncAsHook.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/hooks/useAsyncAsHook.ts b/packages/taler-wallet-webextension/src/hooks/useAsyncAsHook.ts index a5e357f7d..bd430f2ef 100644 --- a/packages/taler-wallet-webextension/src/hooks/useAsyncAsHook.ts +++ b/packages/taler-wallet-webextension/src/hooks/useAsyncAsHook.ts @@ -48,14 +48,13 @@ export type HookResponseWithRetry<T> = export function useAsyncAsHook<T>( fn: () => Promise<T | false>, - deps?: any[], + deps?: unknown[], ): HookResponseWithRetry<T> { const [result, setHookResponse] = useState<HookResponse<T>>(undefined); const args = useMemo( () => ({ fn, - // eslint-disable-next-line react-hooks/exhaustive-deps }), deps || [], ); |