Skip to content

Commit

Permalink
feat(nx-dev): remove unnecessary breadcrumbs (#18270)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav authored Jul 24, 2023
1 parent cb89b9a commit b5e6787
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nx-dev/ui-common/src/lib/breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ export function Breadcrumbs({ path }: { path: string }): JSX.Element {
];
const hasRef = path.includes('?') ? path.slice(0, path.indexOf('?')) : '';

if (pages.length === 1) {
return <></>;
}

return (
<div>
<nav className="flex" aria-labelledby="breadcrumb">
Expand Down

1 comment on commit b5e6787

@vercel
Copy link

@vercel vercel bot commented on b5e6787 Jul 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.