From beb1fc29ca6ebe45226caa3a064476072cd9ed26 Mon Sep 17 00:00:00 2001 From: Prasenjit D Banik Date: Sun, 16 Jun 2019 21:34:11 -0400 Subject: [PATCH] removed distinctState() filter (#3450) distinctState() filter, which is now deprecated, is auto applied. --- examples/todos-with-undo/src/reducers/todos.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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