Skip to content

Commit

Permalink
fix: subscribe with deepEqual as well
Browse files Browse the repository at this point in the history
  • Loading branch information
BowlingX committed Feb 23, 2024
1 parent 87ce4de commit 1dbbcd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export const factoryParameters = <
setCurrentState(state)
}
},
{ equalityFn: shallow }
{ equalityFn: isDeepEqual }
)

return () => {
Expand Down

0 comments on commit 1dbbcd0

Please sign in to comment.