mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
fix lint
This commit is contained in:
parent
3ac6532577
commit
0d8267c71c
@ -89,9 +89,7 @@ export default class Demo extends React.Component {
|
||||
highlightedStyle ?
|
||||
<div key="style" className="highlight">
|
||||
<pre>
|
||||
<code className="css" dangerouslySetInnerHTML={{
|
||||
__html: highlightedStyle,
|
||||
}} />
|
||||
<code className="css" dangerouslySetInnerHTML={{ __html: highlightedStyle }} />
|
||||
</pre>
|
||||
</div> :
|
||||
null
|
||||
|
@ -8,9 +8,11 @@ export default function NotFound() {
|
||||
<h1>404</h1>
|
||||
<p>你要找的页面不存在 <Link to="/">返回首页</Link></p>
|
||||
</section>
|
||||
<style dangerouslySetInnerHTML={{
|
||||
__html: '#react-content { height: 100%; background-color: #fff }',
|
||||
}} />
|
||||
<style
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: '#react-content { height: 100%; background-color: #fff }',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user