mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-05 21:27:24 +02:00
chore: prettier & remove unused
This commit is contained in:
parent
a80399631f
commit
dd5757ce65
3 changed files with 2 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
const React = require('react');
|
import React from 'react';
|
||||||
import blogDatas from '@generated/blogDatas';
|
import blogDatas from '@generated/blogDatas';
|
||||||
|
|
||||||
// inner blog component for the article itself, without sidebar/header/footer
|
// inner blog component for the article itself, without sidebar/header/footer
|
||||||
|
|
|
@ -18,9 +18,7 @@ class App extends React.Component {
|
||||||
{blogDatas.map(({path}) => {
|
{blogDatas.map(({path}) => {
|
||||||
return (
|
return (
|
||||||
<div key={path}>
|
<div key={path}>
|
||||||
<Link to={path}>
|
<Link to={path}>{path}</Link>
|
||||||
{path}
|
|
||||||
</Link>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|
|
@ -98,5 +98,4 @@ module.exports = async function dev(sourceDir, cliOptions = {}) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
console.log("finish serve");
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue