Skip to content

Commit beb1fc2

Browse files
deanbantimdorr
authored andcommitted
removed distinctState() filter (#3450)
distinctState() filter, which is now deprecated, is auto applied.
1 parent cf74935 commit beb1fc2

File tree

1 file changed

+2
-2
lines changed
  • examples/todos-with-undo/src/reducers

1 file changed

+2
-2
lines changed

examples/todos-with-undo/src/reducers/todos.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import undoable, { distinctState } from 'redux-undo'
1+
import undoable from 'redux-undo'
22

33
const todo = (state, action) => {
44
switch (action.type) {
@@ -38,6 +38,6 @@ const todos = (state = [], action) => {
3838
}
3939
}
4040

41-
const undoableTodos = undoable(todos, { filter: distinctState() })
41+
const undoableTodos = undoable(todos)
4242

4343
export default undoableTodos

0 commit comments

Comments
 (0)