diff --git a/packages/block-editor/src/store/reducer.js b/packages/block-editor/src/store/reducer.js index a27793987f3bb..33a40dc81af1a 100644 --- a/packages/block-editor/src/store/reducer.js +++ b/packages/block-editor/src/store/reducer.js @@ -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( {