Skip to content

Commit

Permalink
Do not show SiteHub in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Jul 3, 2024
1 parent 27304cc commit a0b5c93
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/edit-site/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,12 @@ export default function Layout( { route } ) {

{ isMobileViewport && areas.mobile && (
<div className="edit-site-layout__mobile">
<SiteHub
ref={ toggleRef }
isTransparent={ isResizableFrameOversized }
/>
{ canvasMode !== 'edit' && (
<SiteHub
ref={ toggleRef }
isTransparent={ isResizableFrameOversized }
/>
) }
{ areas.mobile }
</div>
) }
Expand Down

0 comments on commit a0b5c93

Please sign in to comment.