Skip to content

Commit

Permalink
fix: displayName resolves to label instead of object (#3474)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Nov 18, 2024
1 parent 95ed7ce commit 67c0c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion showcases/patternhub/scripts/generate-docs-mdx.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const generateDocsMdx = async () => {
const componentGroup = getComponentGroup(components, componentName);
const displayName = componentGroup?.subNavigation?.find(
(component) => component.name === componentName
);
).label;

if (componentGroup) {
const componentOldPath = `${componentsPath}/${componentName}`;
Expand Down

0 comments on commit 67c0c41

Please sign in to comment.