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:
parent
aaec480e32
commit
2b022cd759
@ -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…
Reference in New Issue
Block a user