Skip to content

Commit 1203c18

Browse files
bug fix
1 parent e8cf8dc commit 1203c18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Store {
2626
}
2727

2828
subscribe = (cb) => {
29-
const _cb = (...args) => cb(args)
29+
const _cb = (...args) => cb(...args)
3030
this.#emitter.on(_cb)
3131
return () => this.#emitter.off(_cb)
3232
}

0 commit comments

Comments
 (0)