diff --git a/src/Store.js b/src/Store.js index 00f2a5d..e76a57f 100644 --- a/src/Store.js +++ b/src/Store.js @@ -26,7 +26,7 @@ class Store { } subscribe = (cb) => { - const _cb = (...args) => cb(args) + const _cb = (...args) => cb(...args) this.#emitter.on(_cb) return () => this.#emitter.off(_cb) }