mirror of https://github.com/logos-co/roadmap.git
fix: display name for file nodes
This commit is contained in:
parent
f7029012df
commit
9358f73f1c
|
@ -160,7 +160,7 @@ export function ExplorerNode({ node, opts, fullPath, fileData }: ExplorerNodePro
|
|||
// Single file node
|
||||
<li key={node.file.slug}>
|
||||
<a href={resolveRelative(fileData.slug!, node.file.slug!)} data-for={node.file.slug}>
|
||||
{node.file.frontmatter?.title}
|
||||
{node.name}
|
||||
</a>
|
||||
</li>
|
||||
) : (
|
||||
|
|
Loading…
Reference in New Issue