mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 18:34:24 +01:00
chore(client): fix typecheck
This commit is contained in:
parent
4d75221938
commit
2ff8762a22
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user