mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 03:42:34 +02:00
chore: eslint fix
This commit is contained in:
parent
9e7729ad74
commit
2a7f7e2663
2 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,7 @@ import React from 'react';
|
||||||
|
|
||||||
export default class Layout extends React.Component {
|
export default class Layout extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
return <div>{this.props.children}</div>;
|
const {children} = this.props;
|
||||||
|
return <div>{children}</div>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default class NotFound extends React.Component {
|
||||||
<Layout>
|
<Layout>
|
||||||
<div>404 Page Not Found</div>
|
<div>404 Page Not Found</div>
|
||||||
<div>
|
<div>
|
||||||
<img src="https://i.imgur.com/yG7L3Lb.gif" />
|
<img alt="Not found" src="https://i.imgur.com/yG7L3Lb.gif" />
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue