diff --git a/storybook/src/components/Mardown/index.tsx b/storybook/src/components/Markdown/index.tsx similarity index 90% rename from storybook/src/components/Mardown/index.tsx rename to storybook/src/components/Markdown/index.tsx index 3c1ef93bc3..7915e6dea1 100644 --- a/storybook/src/components/Mardown/index.tsx +++ b/storybook/src/components/Markdown/index.tsx @@ -13,3 +13,4 @@ export const Markdown = memo((props: { value: string }) => { /> ) }) +Markdown.displayName = 'Markdown' diff --git a/storybook/src/glob.tsx b/storybook/src/glob.tsx index e0bdfe4d18..bfd41fa5d3 100644 --- a/storybook/src/glob.tsx +++ b/storybook/src/glob.tsx @@ -2,7 +2,7 @@ import React, { createElement, Fragment } from 'react' import type { FC, ReactNode } from 'react' import type { DocumentComponent, DocumentPageMeta } from '../typings' -import { Markdown } from './components/Mardown' +import { Markdown } from './components/Markdown' import { GLOB_PATH } from '../config' assert { type: 'macro' } // TODO find project root