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:
parent
024e51f802
commit
e85643b2b3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user