diff --git a/src/background/store.js b/src/background/store.js index b972744..433e858 100644 --- a/src/background/store.js +++ b/src/background/store.js @@ -149,10 +149,10 @@ module.exports = class P2PStore extends EventEmitter { return } + this.emit('store', value) if(callback) callback() }) - this.emit('store', value) } store(obj)