Commit 6e5a2b12 authored by Mehdi's avatar Mehdi
Browse files

fix(breadcrumbs): sliced breadcrumbs fixed

parent cc185336
......@@ -202,6 +202,8 @@ const Breadcrumbs: FC<BreadcrumbsProps> = ({
const fillerElements = makeEmptyArray(depth - filesAndFolders.length, null);
return (
<div className="breadcrumbs">
<BreadcrumbsWrapper>
{filesAndFolders.map(
({
......@@ -236,6 +238,8 @@ 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