chore: prettier & remove unused

This commit is contained in:
endiliey 2018-07-30 15:50:48 +08:00
parent a80399631f
commit dd5757ce65
3 changed files with 2 additions and 5 deletions

View file

@ -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

View file

@ -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>
);
})}

View file

@ -98,5 +98,4 @@ module.exports = async function dev(sourceDir, cliOptions = {}) {
}
}
);
console.log("finish serve");
};