mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-12 18:51:21 +01:00
Update ImportWalletDiscovery.tsx
This commit is contained in:
parent
c31a4a45fb
commit
f74e4abf18
1 changed files with 3 additions and 6 deletions
|
@ -138,16 +138,13 @@ const ImportWalletDiscovery: React.FC = () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
if (task.current) {
|
task.current?.stop();
|
||||||
task.current.stop();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}, [askPassphrase, importText, navigation, saveWallet, searchAccounts]);
|
}, [askPassphrase, importText, navigation, saveWallet, searchAccounts]);
|
||||||
|
|
||||||
const handleCustomDerivation = () => {
|
const handleCustomDerivation = () => {
|
||||||
if (task.current) {
|
task.current?.stop();
|
||||||
task.current.stop();
|
|
||||||
}
|
|
||||||
navigation.navigate('ImportCustomDerivationPath', { importText, password });
|
navigation.navigate('ImportCustomDerivationPath', { importText, password });
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue