mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
docs: fix duplicated description (#41063)
This commit is contained in:
parent
673d8a029b
commit
79ac80a0a2
@ -220,7 +220,9 @@ const Content: React.FC<{ children: ReactNode }> = ({ children }) => {
|
|||||||
</Space>
|
</Space>
|
||||||
</Typography.Paragraph>
|
</Typography.Paragraph>
|
||||||
) : null}
|
) : null}
|
||||||
{meta.frontmatter.description !== meta.texts[0]?.value && meta.frontmatter.description}
|
{pathname.startsWith('/components') &&
|
||||||
|
meta.frontmatter.description !== meta.texts[0]?.value &&
|
||||||
|
meta.frontmatter.description}
|
||||||
{children}
|
{children}
|
||||||
{meta.frontmatter.filename && (
|
{meta.frontmatter.filename && (
|
||||||
<ContributorsList
|
<ContributorsList
|
||||||
|
Loading…
Reference in New Issue
Block a user