1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-12 17:10:56 +00:00

fix lint again

This commit is contained in:
Vladimir Volek 2019-04-12 15:38:18 +02:00
parent 024e51f802
commit e85643b2b3

View File

@ -97,7 +97,7 @@ class TopNavigationAccount extends React.PureComponent<Props, LocalState> {
const { config } = this.props.localStorage;
const { state, pathname } = this.props.router.location;
if (!state) return null;
const { network, account } = this.props.selectedAccount;
const { network } = this.props.selectedAccount;
if (!network) return null;
const networkConfig = config.networks.find(c => c.shortcut === network.shortcut);
if (!networkConfig) return null;