Skip to content

Commit

Permalink
removes an empti motion call
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Jun 8, 2022
1 parent f6e5b71 commit 04ab5b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/edit-post/src/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { PostSavedState, PostPreviewButton } from '@wordpress/editor';
import { useSelect } from '@wordpress/data';
import { PinnedItems } from '@wordpress/interface';
import { useViewportMatch } from '@wordpress/compose';
import { __unstableMotion as motion } from '@wordpress/components';

/**
* Internal dependencies
Expand Down Expand Up @@ -59,7 +58,7 @@ function Header( { setEntitiesSavedStatesCallback } ) {
<HeaderToolbar />
<TemplateTitle />
</div>
<motion.div className="edit-post-header__settings">
<div className="edit-post-header__settings">
{ ! isPublishSidebarOpened && (
// This button isn't completely hidden by the publish sidebar.
// We can't hide the whole toolbar when the publish sidebar is open because
Expand Down Expand Up @@ -93,7 +92,7 @@ function Header( { setEntitiesSavedStatesCallback } ) {
{ showIconLabels && ! isLargeViewport && (
<MoreMenu showIconLabels={ showIconLabels } />
) }
</motion.div>
</div>
</div>
);
}
Expand Down

0 comments on commit 04ab5b3

Please sign in to comment.