chore: add missing dep & nits :(

This commit is contained in:
endiliey 2018-08-26 03:17:26 +08:00
parent 3530cbe173
commit 0058b20d9e
2 changed files with 1 additions and 1 deletions

View file

@ -5,7 +5,6 @@ import styles from './styles.css';
/* eslint-disable react/prefer-stateless-function */
export default class Layout extends React.Component {
render() {
console.log(this.props);
const {children, pagesData, docsData, location} = this.props;
const routeLinks = [...pagesData, ...docsData].map(
data =>

View file

@ -48,6 +48,7 @@
"babel-preset-react": "^6.24.1",
"chalk": "^2.4.1",
"chokidar": "^2.0.4",
"classnames": "^2.2.6",
"clean-webpack-plugin": "^0.1.19",
"commander": "^2.16.0",
"connect-history-api-fallback": "^1.5.0",