Skip to content

Commit

Permalink
remove redundant check for isEditedPostNew
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Silverstein committed May 8, 2018
1 parent 9142591 commit 6e7c57c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions editor/store/effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,6 @@ export default {
return;
}

if ( ! isEditedPostNew( state ) && ! isEditedPostDirty( state ) ) {
return;
}

if ( ! isEditedPostDirty( state ) ) {
return;
}
Expand Down

0 comments on commit 6e7c57c

Please sign in to comment.