Skip to content

Commit

Permalink
Edit Site Layout: remove redundant fullResizer (#64821)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Aug 28, 2024
1 parent 8236cf6 commit 2c7c936
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 2c7c936

Please sign in to comment.