diff --git a/code/addons/docs/template/stories/docs2/Title.mdx b/code/addons/docs/template/stories/docs2/Title.mdx
index 08d1de73a4a7..f94dc947bb89 100644
--- a/code/addons/docs/template/stories/docs2/Title.mdx
+++ b/code/addons/docs/template/stories/docs2/Title.mdx
@@ -1,7 +1,9 @@
-import { Meta } from '@storybook/addon-docs';
+import { Meta, Subtitle } from '@storybook/addon-docs';
# Docs with title
+Subtitle
+
hello docs
diff --git a/code/ui/blocks/src/blocks/Subtitle.tsx b/code/ui/blocks/src/blocks/Subtitle.tsx
index ee4fa0517563..143543cb27fb 100644
--- a/code/ui/blocks/src/blocks/Subtitle.tsx
+++ b/code/ui/blocks/src/blocks/Subtitle.tsx
@@ -9,8 +9,7 @@ interface SubtitleProps {
export const Subtitle: FunctionComponent = ({ children }) => {
const docsContext = useContext(DocsContext);
- const { parameters } = docsContext.storyById();
- const content = children || parameters?.componentSubtitle;
+ const content = children || docsContext.storyById().parameters?.componentSubtitle;
return content ? (
{content}