Skip to content

Commit b35c1c9

Browse files
committed
Update Store.md
1 parent 18949fd commit b35c1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/basics/Store.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import { addTodo, completeTodo, setVisibilityFilter, VisibilityFilters } from '.
3737
console.log(store.getState())
3838

3939
// Every time the state changes, log it
40-
// (Note that `store.subscribe` returns a function for unregistering the listener)
40+
// Note that subscribe() returns a function for unregistering the listener
4141
let unsubscribe = store.subscribe(() =>
4242
console.log(store.getState())
4343
)

0 commit comments

Comments
 (0)