Remove unused AppHeader props (#10506)

These two props were being passed into the AppHeader component by the
AppHeader container despite them being unused.
feature/default_network_editable
Mark Stacey 4 years ago committed by GitHub
parent aaec480e32
commit 2b022cd759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      ui/app/components/app/app-header/app-header.container.js

@ -8,18 +8,10 @@ import AppHeader from './app-header.component';
const mapStateToProps = (state) => {
const { appState, metamask } = state;
const { networkDropdownOpen } = appState;
const {
network,
provider,
selectedAddress,
isUnlocked,
isAccountMenuOpen,
} = metamask;
const { selectedAddress, isUnlocked, isAccountMenuOpen } = metamask;
return {
networkDropdownOpen,
network,
provider,
selectedAddress,
isUnlocked,
isAccountMenuOpen,

Loading…
Cancel
Save