Commit 265e0503 authored by Mehdi's avatar Mehdi
Browse files

fix(breadcrumb): fix sliced breadcrumb

parent cad44292
......@@ -202,6 +202,7 @@ const Breadcrumbs: FC<BreadcrumbsProps> = ({
const fillerElements = makeEmptyArray(depth - filesAndFolders.length, null);
return (
<div className="breadcrumb">
<BreadcrumbsWrapper>
{filesAndFolders.map(
({
......@@ -236,6 +237,7 @@ const Breadcrumbs: FC<BreadcrumbsProps> = ({
<BreadcrumbWrapper key={`breadcrumb-filler-${index}`} depth={depth} />
))}
</BreadcrumbsWrapper>
</div>
);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment