Skip to content

Commit

Permalink
Remove new action
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Aug 23, 2024
1 parent 765b42c commit 972c690
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/block-editor/src/store/private-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,14 +382,3 @@ export const modifyContentLockBlock =
focusModeToRevert
);
};

/**
* Action that enables or disables Zoom Out mode.
*
* @param {boolean} isZoomOutMode Enable/Disable Zoom Out mode.
*/
export const setZoomOutMode =
( isZoomOutMode = true ) =>
( { dispatch } ) => {
dispatch.__unstableSetEditorMode( isZoomOutMode ? 'zoom-out' : 'edit' );
};

0 comments on commit 972c690

Please sign in to comment.