diff --git a/examples/todos-with-undo/src/reducers/todos.js b/examples/todos-with-undo/src/reducers/todos.js index 5a1b6ff973..9df2d57a9c 100644 --- a/examples/todos-with-undo/src/reducers/todos.js +++ b/examples/todos-with-undo/src/reducers/todos.js @@ -1,4 +1,4 @@ -import undoable, { distinctState } from 'redux-undo' +import undoable from 'redux-undo' const todo = (state, action) => { switch (action.type) { @@ -38,6 +38,6 @@ const todos = (state = [], action) => { } } -const undoableTodos = undoable(todos, { filter: distinctState() }) +const undoableTodos = undoable(todos) export default undoableTodos