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 authored and tellthemachines committed Nov 25, 2021
1 parent 443d395 commit 30541f8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/block-library/src/navigation/edit/placeholder/index.js
Expand Up @@ -115,7 +115,6 @@ export default function NavigationPlaceholder( {
isResolvingMenus,
menuItems,
hasResolvedMenuItems,
hasPages,
hasMenus,
} = useNavigationEntities( selectedMenu );

Expand Down Expand Up @@ -192,17 +191,6 @@ export default function NavigationPlaceholder( {
<hr />
</>
) : undefined }
{ hasPages ? (
<>
<Button
variant="tertiary"
onClick={ onCreateAllPages }
>
{ __( 'Add all pages' ) }
</Button>
<hr />
</>
) : undefined }
<Button
variant="tertiary"
onClick={ onCreateEmptyMenu }
Expand Down

0 comments on commit 30541f8

Please sign in to comment.