ADD: Update UI if wallets context changes

This commit is contained in:
marcosrdz 2020-12-07 16:49:56 -05:00
parent 31eda23f4c
commit 810795db64
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -114,7 +114,7 @@ const TransactionsStatus = () => {
initialState();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [tx]);
}, [tx, wallets]);
useEffect(() => {
if (wallet) {