chore(client): fix typecheck

This commit is contained in:
Elian Doran 2025-12-09 13:07:41 +02:00
parent 4d75221938
commit 2ff8762a22
No known key found for this signature in database

View File

@ -29,7 +29,7 @@ export default function Breadcrumb() {
<Fragment key={item}> <Fragment key={item}>
{index === 0 {index === 0
? <BreadcrumbRoot noteContext={noteContext} /> ? <BreadcrumbRoot noteContext={noteContext} />
: <BreadcrumbItem notePath={item} activeNotePath={noteContext?.notePath ?? ""} /> : <BreadcrumbItem notePath={item} />
} }
<BreadcrumbSeparator notePath={item} activeNotePath={notePath[index + 1]} noteContext={noteContext} /> <BreadcrumbSeparator notePath={item} activeNotePath={notePath[index + 1]} noteContext={noteContext} />
</Fragment> </Fragment>