From 9df3c15023e3362959d7e56aa36989f1e84a46c7 Mon Sep 17 00:00:00 2001 From: Alex Riabov Date: Mon, 31 Jul 2017 22:02:57 -0700 Subject: [PATCH] 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. --- docs/basics/Reducers.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/basics/Reducers.md b/docs/basics/Reducers.md index 1462849f9a..f01afc718a 100644 --- a/docs/basics/Reducers.md +++ b/docs/basics/Reducers.md @@ -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' ...