Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add missing SET_VISIBILITY_FILTER import
The reducer example uses `SET_VISIBILITY_FILTER` constant, 
but the import statement prior to the example is not explicitly
importing it. This change explicitly imports the constant.
  • Loading branch information
ariabov authored Aug 1, 2017
commit 9df3c15023e3362959d7e56aa36989f1e84a46c7
7 changes: 6 additions & 1 deletion docs/basics/Reducers.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,12 @@ Note that:
We have two more actions to handle! Just like we did with `SET_VISIBILITY_FILTER`, we'll import the `ADD_TODO` and `TOGGLE_TODO` actions and then extend our reducer to handle `ADD_TODO`.

```js
import { VisibilityFilters, ADD_TODO, TOGGLE_TODO } from './actions'
import {
ADD_TODO,
TOGGLE_TODO,
SET_VISIBILITY_FILTER,
VisibilityFilters
} from './actions'

...

Expand Down