We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf74935 commit beb1fc2Copy full SHA for beb1fc2
examples/todos-with-undo/src/reducers/todos.js
@@ -1,4 +1,4 @@
1
-import undoable, { distinctState } from 'redux-undo'
+import undoable from 'redux-undo'
2
3
const todo = (state, action) => {
4
switch (action.type) {
@@ -38,6 +38,6 @@ const todos = (state = [], action) => {
38
}
39
40
41
-const undoableTodos = undoable(todos, { filter: distinctState() })
+const undoableTodos = undoable(todos)
42
43
export default undoableTodos
0 commit comments