Skip to content

Commit

Permalink
Update Store.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Dec 31, 2015
1 parent 18949fd commit b35c1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basics/Store.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { addTodo, completeTodo, setVisibilityFilter, VisibilityFilters } from '.
console.log(store.getState())

// Every time the state changes, log it
// (Note that `store.subscribe` returns a function for unregistering the listener)
// Note that subscribe() returns a function for unregistering the listener
let unsubscribe = store.subscribe(() =>
console.log(store.getState())
)
Expand Down

0 comments on commit b35c1c9

Please sign in to comment.