Skip to content

Commit

Permalink
feat(nx-dev): remove unnecessary breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Jul 24, 2023
1 parent 21d3c5e commit 5709323
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

0 comments on commit 5709323

Please sign in to comment.