1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00

fix #6958: fix destructuring of lastSelectedProvider (#8197)

This commit is contained in:
Brad Decker 2020-03-16 13:48:12 -05:00 committed by GitHub
parent b1d090ac4d
commit 23bfa59bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,10 +6,10 @@ import { getNetworkIdentifier } from '../../../selectors/selectors'
const mapStateToProps = (state) => {
const {
loadingMessage,
lastSelectedProvider,
} = state.appState
const {
provider,
lastSelectedProvider,
network,
} = state.metamask
const { rpcTarget, chainId, ticker, nickname, type } = provider