fix: Extra entry on end of breadcrumb
This commit is contained in:
@@ -127,7 +127,7 @@ const DocumentBreadcrumb: React.FC<Props> = ({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{collection?.name}
|
{collection?.name}
|
||||||
{path.map((node: NavigationNode) => (
|
{path.slice(0, -1).map((node: NavigationNode) => (
|
||||||
<React.Fragment key={node.id}>
|
<React.Fragment key={node.id}>
|
||||||
<SmallSlash />
|
<SmallSlash />
|
||||||
{node.title}
|
{node.title}
|
||||||
|
|||||||
Reference in New Issue
Block a user