Skip to content

Commit

Permalink
chore: update jd doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiboss committed Sep 6, 2024
1 parent 321cea1 commit a5b8d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactive/src/enhancers/react/with-use-snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface WithUseSnapshotContributes<State extends object> {
* )
*
* // in normal JS/TS
* console.log(store.useSnapshot(), store.useSnapshot((s) => s.count))
* console.log(store.snapshot(), store.snapshot((s) => s.count))
*
* // in React component
* export function App() {
Expand Down

0 comments on commit a5b8d54

Please sign in to comment.