From 38e26ccbd6080df010b137bad7dcb67820430641 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Thu, 16 Jan 2025 21:50:14 -0400 Subject: [PATCH] FIX: Error trying to import wallets derived from the same seed in different accounts after updating --- screen/wallets/ImportWalletDiscovery.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screen/wallets/ImportWalletDiscovery.tsx b/screen/wallets/ImportWalletDiscovery.tsx index 84a922ada..bc311291f 100644 --- a/screen/wallets/ImportWalletDiscovery.tsx +++ b/screen/wallets/ImportWalletDiscovery.tsx @@ -141,10 +141,10 @@ const ImportWalletDiscovery: React.FC = () => { if (!isDesktop) keepAwake(false); task.current?.stop(); }; - // ignoring "navigation" here, because it is constantly mutating + // ignoring "navigation" and "saveWallet" here, because it is constantly mutating // removed all deps as they were leading to a rerender and retask loop // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); + }, [askPassphrase, importText, isElectrumDisabled, searchAccounts]); const handleCustomDerivation = () => { task.current?.stop();