1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 23:06:37 +01:00

Backport "fix destructuring of lastSelectedProvider (#8197)" (#8461)

Backport #8197 to v7.7.9.

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
This commit is contained in:
Mark Stacey 2020-04-29 18:34:31 -03:00 committed by GitHub
parent 361c57191d
commit 4d9d732fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,10 @@ const mapStateToProps = state => {
const { const {
loadingMessage, loadingMessage,
currentView, currentView,
lastSelectedProvider,
} = state.appState } = state.appState
const { const {
provider, provider,
lastSelectedProvider,
network, network,
} = state.metamask } = state.metamask
const { rpcTarget, chainId, ticker, nickname, type } = provider const { rpcTarget, chainId, ticker, nickname, type } = provider