mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
style(site): remove helmetTitle check (#30221)
* style(site): remove helmetTitle check * style(site): remove {}
This commit is contained in:
parent
1f1aa86441
commit
1684985da1
@ -149,8 +149,8 @@ class ComponentDoc extends React.Component {
|
||||
return (
|
||||
<article>
|
||||
<Helmet encodeSpecialCharacters={false}>
|
||||
{helmetTitle && <title>{helmetTitle}</title>}
|
||||
{helmetTitle && <meta property="og:title" content={helmetTitle} />}
|
||||
<title>{helmetTitle}</title>
|
||||
<meta property="og:title" content={helmetTitle} />
|
||||
{contentChild && <meta name="description" content={contentChild} />}
|
||||
</Helmet>
|
||||
<Affix className="toc-affix" offsetTop={16}>
|
||||
|
Loading…
Reference in New Issue
Block a user