Skip to content

Commit

Permalink
docs(jsdoc): update
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Dec 29, 2024
1 parent f3c20a8 commit 69ffbb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/coaction-zustand/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const bindZustand = ((initializer: StateCreator<any, [], []>) =>
let isCoactionUpdated = false;
internal.rootState = zustandStore.getState() as object;
coactionStore = store;
// TODO: check Slice Zustand store
zustandStore.subscribe(() => {
if (!isCoactionUpdated) {
internal.rootState = zustandStore.getState() as object;
Expand Down

0 comments on commit 69ffbb1

Please sign in to comment.