diff --git a/editor/store/reducer.js b/editor/store/reducer.js index ac1f40d5a47503..a7b2d276f94dc5 100644 --- a/editor/store/reducer.js +++ b/editor/store/reducer.js @@ -1076,6 +1076,14 @@ export const blockListSettings = ( state = {}, action ) => { return state; }; +/** + * Reducer returning the most recent autosave. + * + * @param {Object} state The autosave object. + * @param {Object} action Dispatched action. + * + * @return {Object} Updated state. + */ export const autosave = ( state = null, action ) => { const { post } = action; switch ( action.type ) {