Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Aug 9, 2024
1 parent 326b30c commit 6c31f42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ Available doc IDs:
return {
type: 'category',
label: categoryMetadata?.label ?? categoryLinkedDoc?.label ?? filename,
description: categoryMetadata?.description,
collapsible: categoryMetadata?.collapsible,
collapsed: categoryMetadata?.collapsed,
position:
Expand All @@ -250,6 +249,9 @@ Available doc IDs:
...(customProps !== undefined && {customProps}),
...(className !== undefined && {className}),
items,
...(categoryMetadata?.description && {
description: categoryMetadata?.description,
}),
...(link && {link}),
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function CardLayout({
href: string;
icon: ReactNode;
title: string;
description: string | undefined;
description?: string;
}): JSX.Element {
return (
<CardContainer href={href}>
Expand Down

0 comments on commit 6c31f42

Please sign in to comment.