fix: inconsistent style of path with/without index

This commit is contained in:
h z
2024-12-07 00:32:49 +00:00
parent 20f205ba59
commit 7eaf37223c

View File

@@ -91,7 +91,9 @@ const PathNode = ({ path, isRoot = false, onDelete, onSave }) => {
<Link to={`/markdown/${indexMarkdownId}`} className="is-link">
{path.name}
</Link>
) : path.name
) : (
<a className="is-link">{path.name}</a>
)
}
</span>