Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben-Arushanyan committed Oct 3, 2023
1 parent e8cf8dc commit 1203c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 1203c18

Please sign in to comment.