diff --git a/addons/docs/src/blocks/Stories.tsx b/addons/docs/src/blocks/Stories.tsx index c1b585e82db7..77b299035a1e 100644 --- a/addons/docs/src/blocks/Stories.tsx +++ b/addons/docs/src/blocks/Stories.tsx @@ -17,7 +17,7 @@ export const Stories: FunctionComponent = ({ slot, title }) => { const stories: DocsStoryProps[] = slot ? slot(componentStories, context) : componentStories && componentStories.slice(1); - if (!stories) { + if (!stories || stories.length === 0) { return null; } return (