Remove usage of unlisted extend dependency (#7903)

feature/default_network_editable
Whymarrh Whitby 5 years ago committed by GitHub
parent 7921196536
commit 5078598306
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/scripts/controllers/network/network.js

@ -11,7 +11,6 @@ import createInfuraClient from './createInfuraClient'
import createJsonRpcClient from './createJsonRpcClient'
import createLocalhostClient from './createLocalhostClient'
import { createSwappableProxy, createEventEmitterProxy } from 'swappable-obj-proxy'
import extend from 'extend'
const networks = { networkList: {} }
@ -218,7 +217,7 @@ export default class NetworkController extends EventEmitter {
let settings = {
network: chainId,
}
settings = extend(settings, networks.networkList['rpc'])
settings = Object.assign(settings, networks.networkList['rpc'])
this.networkConfig.putState(settings)
this._setNetworkClient(networkClient)
}

Loading…
Cancel
Save