Skip to content

Commit

Permalink
handle omnidan#173
Browse files Browse the repository at this point in the history
  • Loading branch information
davidroeca committed Jul 7, 2017
1 parent ec6a636 commit e6be11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export default function undoable (reducer, rawConfig = {}) {
return config.history
}

if (history.present === res) {
if (history._latestUnfiltered === res) {
// Don't handle this action. Do not call debug.end here,
// because this action should not produce side effects to the console
return history
Expand Down

0 comments on commit e6be11c

Please sign in to comment.