Skip to content

Commit

Permalink
Navigation: Try removing "Add all pages" from placeholder.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Nov 23, 2021
1 parent 894fa30 commit 898c755
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/block-library/src/navigation/edit/placeholder/index.js
Expand Up @@ -143,7 +143,6 @@ export default function NavigationPlaceholder( {
isResolvingMenus,
menuItems,
hasResolvedMenuItems,
hasPages,
hasMenus,
} = useNavigationEntities( selectedMenu );

Expand Down Expand Up @@ -221,20 +220,6 @@ export default function NavigationPlaceholder( {
<hr />
</>
) : undefined }
{ hasPages ? (
<>
<Button
variant="tertiary"
onClick={ () => {
setIsNewMenuModalVisible( true );
setCreateEmpty( false );
} }
>
{ __( 'Add all pages' ) }
</Button>
<hr />
</>
) : undefined }
<Button
variant="tertiary"
onClick={ () => {
Expand Down

0 comments on commit 898c755

Please sign in to comment.