mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 07:16:36 +01:00
Remove usage of unlisted extend dependency (#7903)
This commit is contained in:
parent
7921196536
commit
5078598306
@ -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…
Reference in New Issue
Block a user