fix the fixy zone
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m13s

This commit is contained in:
Lee 2024-04-20 22:24:45 +01:00
parent 025233d837
commit b5198b5807

View File

@ -71,12 +71,10 @@ export default function Page({ params: { slug } }: DocumentationPageParams) {
const path = array.slice(0, index + 1).join("/");
return (
<>
<BreadcrumbItem key={slug}>
<BreadcrumbSeparator />
<BreadcrumbItem key={slug}>
<BreadcrumbLink href={`/docs/${path}`}>{capitalizeFirstLetter(slug)}</BreadcrumbLink>
</BreadcrumbItem>
</>
<BreadcrumbLink href={`/docs/${path}`}>{capitalizeFirstLetter(slug)}</BreadcrumbLink>
</BreadcrumbItem>
);
})}
</BreadcrumbList>