mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
ADD: Update UI if wallets context changes
This commit is contained in:
parent
31eda23f4c
commit
810795db64
2 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ const TransactionsDetails = () => {
|
|||
setTo(to);
|
||||
setIsLoading(false);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [hash]);
|
||||
}, [hash, wallets]);
|
||||
|
||||
useEffect(() => {
|
||||
HandoffSettings.isHandoffUseEnabled().then(setIsHandOffUseEnabled);
|
||||
|
|
|
@ -114,7 +114,7 @@ const TransactionsStatus = () => {
|
|||
initialState();
|
||||
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [tx]);
|
||||
}, [tx, wallets]);
|
||||
|
||||
useEffect(() => {
|
||||
if (wallet) {
|
||||
|
|
Loading…
Add table
Reference in a new issue