mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +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>
|
||||
</Typography.Paragraph>
|
||||
) : 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}
|
||||
{meta.frontmatter.filename && (
|
||||
<ContributorsList
|
||||
|
Loading…
Reference in New Issue
Block a user