mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 09:23:21 +01:00
Remove custom RPC option when on lock screen.
This commit is contained in:
parent
fbabcf6191
commit
9aa70fbaba
@ -262,7 +262,7 @@ App.prototype.renderNetworkDropdown = function () {
|
||||
|
||||
this.renderCustomOption(props.provider),
|
||||
|
||||
h(DropMenuItem, {
|
||||
props.isUnlocked && h(DropMenuItem, {
|
||||
label: 'Custom RPC',
|
||||
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
|
||||
action: () => this.props.dispatch(actions.showConfigPage()),
|
||||
|
Loading…
Reference in New Issue
Block a user