1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove unused AppHeader props (#10506)

These two props were being passed into the AppHeader component by the
AppHeader container despite them being unused.
This commit is contained in:
Mark Stacey 2021-02-23 15:41:40 -03:30 committed by GitHub
parent aaec480e32
commit 2b022cd759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,