Skip to content

Commit

Permalink
docs: fix typo in quickstart guide (#154)
Browse files Browse the repository at this point in the history
the state was not read from the correct variable
  • Loading branch information
alp82 authored Dec 29, 2024
1 parent 7f497f5 commit 09a8523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This `Store` can then be used to track updates to your data:

```typescript
const unsub = countStore.subscribe(() => {
console.log('The count is now:', count.state);
console.log('The count is now:', countStore.state);
});

// Later, to cleanup
Expand Down

0 comments on commit 09a8523

Please sign in to comment.