mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
notice-controller - update memStore on boot
This commit is contained in:
parent
4b8a4fd5fe
commit
722c5ae821
@ -18,6 +18,7 @@ module.exports = class NoticeController extends EventEmitter {
|
|||||||
this.store = new ObservableStore(initState)
|
this.store = new ObservableStore(initState)
|
||||||
this.memStore = new ObservableStore({})
|
this.memStore = new ObservableStore({})
|
||||||
this.store.subscribe(() => this._updateMemstore())
|
this.store.subscribe(() => this._updateMemstore())
|
||||||
|
this._updateMemstore()
|
||||||
}
|
}
|
||||||
|
|
||||||
getNoticesList () {
|
getNoticesList () {
|
||||||
|
Loading…
Reference in New Issue
Block a user