Skip to content

Commit

Permalink
update readme typo
Browse files Browse the repository at this point in the history
  • Loading branch information
charkour committed Nov 17, 2024
1 parent 7f83e36 commit b72e503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function useTemporalStore<T>(
selector?: (state: TemporalState<MyState>) => T,
equality?: (a: T, b: T) => boolean,
) {
return useStoreWithEqualityFn(originalStore.temporal, selector!, equality);
return useStoreWithEqualityFn(useStoreWithUndo.temporal, selector!, equality);
}

const App = () => {
Expand Down

0 comments on commit b72e503

Please sign in to comment.