Skip to content

Commit

Permalink
removed distinctState() filter (#3450)
Browse files Browse the repository at this point in the history
distinctState() filter, which is now deprecated, is auto applied.
  • Loading branch information
deanban authored and timdorr committed Jun 17, 2019
1 parent cf74935 commit beb1fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/todos-with-undo/src/reducers/todos.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import undoable, { distinctState } from 'redux-undo'
import undoable from 'redux-undo'

const todo = (state, action) => {
switch (action.type) {
Expand Down Expand Up @@ -38,6 +38,6 @@ const todos = (state = [], action) => {
}
}

const undoableTodos = undoable(todos, { filter: distinctState() })
const undoableTodos = undoable(todos)

export default undoableTodos

0 comments on commit beb1fc2

Please sign in to comment.