Skip to content

fix #6958: fix destructuring of lastSelectedProvider#8197

Merged
Gudahtt merged 1 commit intoMetaMask:developfrom
brad-decker:brad/fix-fallback-network
Mar 16, 2020
Merged

fix #6958: fix destructuring of lastSelectedProvider#8197
Gudahtt merged 1 commit intoMetaMask:developfrom
brad-decker:brad/fix-fallback-network

Conversation

@brad-decker
Copy link
Copy Markdown
Contributor

As per #6958 I see that this issue still exists.

The desired functionality was intended, the bug occurred due to trying to pull the lastSelectedProvider out of the metamask store instead of the appState. Simply moving the variable destructuring resolves the issue in dev.

Copy link
Copy Markdown
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - good catch!

@Gudahtt Gudahtt merged commit 23bfa59 into MetaMask:develop Mar 16, 2020
Gudahtt pushed a commit that referenced this pull request Apr 29, 2020
Gudahtt added a commit that referenced this pull request Apr 29, 2020
Backport #8197 to v7.7.9.

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve handling on closure of Network Timeout Screen

2 participants