diff --git a/packages/reactive/src/enhancers/react/with-use-snapshot.ts b/packages/reactive/src/enhancers/react/with-use-snapshot.ts index acddb29..8bf3064 100644 --- a/packages/reactive/src/enhancers/react/with-use-snapshot.ts +++ b/packages/reactive/src/enhancers/react/with-use-snapshot.ts @@ -32,7 +32,7 @@ export interface WithUseSnapshotContributes { * ) * * // 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() {