1
0
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:
kumavis 2018-06-14 00:23:01 -07:00
parent 4b8a4fd5fe
commit 722c5ae821

View File

@ -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 () {