fix: lint

This commit is contained in:
ycjcl868 2019-09-08 11:16:29 +08:00 committed by 偏右
parent 30dd9a3b0e
commit 15f0841606

View File

@ -76,6 +76,7 @@ class Article extends React.Component {
const helmetTitle = `${title[locale] || title} - Ant Design`;
const contentChild = flatten(getChildren(content.content));
return (
/* eslint-disable-next-line */
<article className="markdown" onClick={this.onResourceClick}>
<Helmet>
{helmetTitle && <title>{helmetTitle}</title>}