mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-15 02:58:24 +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 { config } = this.props.localStorage;
|
||||||
const { state, pathname } = this.props.router.location;
|
const { state, pathname } = this.props.router.location;
|
||||||
if (!state) return null;
|
if (!state) return null;
|
||||||
const { network, account } = this.props.selectedAccount;
|
const { network } = this.props.selectedAccount;
|
||||||
if (!network) return null;
|
if (!network) return null;
|
||||||
const networkConfig = config.networks.find(c => c.shortcut === network.shortcut);
|
const networkConfig = config.networks.find(c => c.shortcut === network.shortcut);
|
||||||
if (!networkConfig) return null;
|
if (!networkConfig) return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user