Skip to content

Commit

Permalink
Remove breadcrumbs from mledge
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Aug 12, 2024
1 parent c8aed96 commit 4a7d771
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,13 @@ import {
LayoutHeader,
Breadcrumbs,
} from '@tapis/tapisui-common';
import { useLocation } from 'react-router';
import { breadcrumbsFromPathname } from '@tapis/tapisui-common';
import styles from './Layout.module.scss';
import { Menu } from '../_components';

const Layout: React.FC = () => {
const { pathname } = useLocation();
const crumbs = breadcrumbsFromPathname(pathname).splice(1);
const header = (
<div>
<LayoutHeader>
<div className={styles.breadcrumbs}>
<Breadcrumbs
breadcrumbs={[{ text: 'ML Edge', to: '/ml-edge' }, ...crumbs]}
truncate={false}
/>
</div>
</LayoutHeader>
<Menu />
</div>
);
Expand Down

0 comments on commit 4a7d771

Please sign in to comment.