mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
metamask - publicConfig - fix init state
This commit is contained in:
parent
10ba760ed3
commit
fb08c4a131
@ -190,7 +190,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
|||||||
|
|
||||||
initPublicConfigStore () {
|
initPublicConfigStore () {
|
||||||
// get init state
|
// get init state
|
||||||
const publicConfigStore = new ObservableStore(this.store.getState())
|
const publicConfigStore = new ObservableStore()
|
||||||
|
|
||||||
// memStore -> transform -> publicConfigStore
|
// memStore -> transform -> publicConfigStore
|
||||||
this.on('update', (memState) => {
|
this.on('update', (memState) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user