Skip to content

Commit

Permalink
Edit Site Layout: remove redundant fullResizer (WordPress#64821)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr authored and bph committed Aug 31, 2024
1 parent 46c848c commit aec4bc0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/edit-site/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export default function Layout( { route } ) {
} );
const disableMotion = useReducedMotion();
const [ canvasResizer, canvasSize ] = useResizeObserver();
const [ fullResizer ] = useResizeObserver();
const isEditorLoading = useIsSiteEditorLoading();
const [ isResizableFrameOversized, setIsResizableFrameOversized ] =
useState( false );
Expand Down Expand Up @@ -113,7 +112,6 @@ export default function Layout( { route } ) {
<CommandMenu />
<KeyboardShortcutsRegister />
<KeyboardShortcutsGlobal />
{ fullResizer }
<div
{ ...navigateRegionsProps }
ref={ navigateRegionsProps.ref }
Expand Down

0 comments on commit aec4bc0

Please sign in to comment.