mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
parent
0e39110f3c
commit
1d56ab821e
@ -47,7 +47,6 @@ ConfigScreen.prototype.render = function() {
|
|||||||
|
|
||||||
currentProviderDisplay(metamaskState),
|
currentProviderDisplay(metamaskState),
|
||||||
|
|
||||||
|
|
||||||
h('div', [
|
h('div', [
|
||||||
h('input', {
|
h('input', {
|
||||||
placeholder: 'New RPC URL',
|
placeholder: 'New RPC URL',
|
||||||
@ -95,7 +94,7 @@ ConfigScreen.prototype.render = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function currentProviderDisplay(metamaskState) {
|
function currentProviderDisplay(metamaskState) {
|
||||||
var rpc = metamaskState.rpcTarget
|
var rpc = metamaskState.provider.rpcTarget
|
||||||
return h('div', [
|
return h('div', [
|
||||||
h('h3', {style: { fontWeight: 'bold' }}, 'Currently using RPC'),
|
h('h3', {style: { fontWeight: 'bold' }}, 'Currently using RPC'),
|
||||||
h('p', rpc)
|
h('p', rpc)
|
||||||
|
Loading…
Reference in New Issue
Block a user