Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): fix typecheck

Elian Doran2ff8762a22d5
diff --git a/apps/client/src/widgets/Breadcrumb.tsx b/apps/client/src/widgets/Breadcrumb.tsx
index c3ec935048..38efb13647 100644
--- a/apps/client/src/widgets/Breadcrumb.tsx
+++ b/apps/client/src/widgets/Breadcrumb.tsx
@@ -29,7 +29,7 @@ export default function Breadcrumb() {
<Fragment key={item}>
{index === 0
? <BreadcrumbRoot noteContext={noteContext} />
- : <BreadcrumbItem notePath={item} activeNotePath={noteContext?.notePath ?? ""} />
+ : <BreadcrumbItem notePath={item} />
}
<BreadcrumbSeparator notePath={item} activeNotePath={notePath[index + 1]} noteContext={noteContext} />
</Fragment>