mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-05 05:07:14 +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';
|
||||
|
||||
// inner blog component for the article itself, without sidebar/header/footer
|
||||
|
|
|
@ -18,9 +18,7 @@ class App extends React.Component {
|
|||
{blogDatas.map(({path}) => {
|
||||
return (
|
||||
<div key={path}>
|
||||
<Link to={path}>
|
||||
{path}
|
||||
</Link>
|
||||
<Link to={path}>{path}</Link>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
|
|
@ -98,5 +98,4 @@ module.exports = async function dev(sourceDir, cliOptions = {}) {
|
|||
}
|
||||
}
|
||||
);
|
||||
console.log("finish serve");
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue