diff --git a/apps/client/src/widgets/Breadcrumb.tsx b/apps/client/src/widgets/Breadcrumb.tsx index a624e2e58..e24704e0a 100644 --- a/apps/client/src/widgets/Breadcrumb.tsx +++ b/apps/client/src/widgets/Breadcrumb.tsx @@ -15,7 +15,7 @@ export default function Breadcrumb() {
{notePath.map((item, index) => ( - + {(index < notePath.length - 1 || note?.hasChildren()) && } @@ -24,13 +24,13 @@ export default function Breadcrumb() { ) } -function BreadcrumbItem({ notePath }: { notePath: string }) { +function BreadcrumbItem({ notePath, activeNotePath }: { notePath: string, activeNotePath: string }) { const isRootNote = (notePath === "root"); return ( )