There was an error while loading. Please reload this page.
1 parent e8cf8dc commit 1203c18Copy full SHA for 1203c18
1 file changed
src/Store.js
@@ -26,7 +26,7 @@ class Store {
26
}
27
28
subscribe = (cb) => {
29
- const _cb = (...args) => cb(args)
+ const _cb = (...args) => cb(...args)
30
this.#emitter.on(_cb)
31
return () => this.#emitter.off(_cb)
32
0 commit comments