Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Nov 1, 2018
1 parent a168c13 commit b1b60d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/editor/src/utils/with-history/index.js
Expand Up @@ -112,6 +112,10 @@ const withHistory = ( options = {} ) => ( reducer ) => {
return state;
}

if ( includes( options.ignoreTypes, action.type ) ) {
return state;
}

let nextPast = past;

if (
Expand Down

0 comments on commit b1b60d4

Please sign in to comment.