mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Harden keyring type check in EthOverview (#13711)
This commit is contained in:
parent
bf8f331297
commit
8eb2130487
@ -55,7 +55,7 @@ const EthOverview = ({ className }) => {
|
||||
});
|
||||
const history = useHistory();
|
||||
const keyring = useSelector(getCurrentKeyring);
|
||||
const usingHardwareWallet = isHardwareKeyring(keyring.type);
|
||||
const usingHardwareWallet = isHardwareKeyring(keyring?.type);
|
||||
const balanceIsCached = useSelector(isBalanceCached);
|
||||
const showFiat = useSelector(getShouldShowFiat);
|
||||
const selectedAccount = useSelector(getSelectedAccount);
|
||||
|
Loading…
Reference in New Issue
Block a user