Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Aug 22, 2019
1 parent f425382 commit 5cfbb51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/store/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ export function lastBlockAttributesChange( state, action ) {
* @return {boolean} Updated state.
*/
export function didAutomaticChange( state, action ) {
return action.type === 'MARK_AUTOMATIC_CHANGE' ? true : false;
return action.type === 'MARK_AUTOMATIC_CHANGE';
}

export default combineReducers( {
Expand Down

0 comments on commit 5cfbb51

Please sign in to comment.