diff --git a/src/layouts/index.js b/src/layouts/index.js index 3f960eb..a91dc38 100644 --- a/src/layouts/index.js +++ b/src/layouts/index.js @@ -66,7 +66,7 @@ class Template extends React.Component { } Template.propTypes = { - children: React.PropTypes.function, + children: React.PropTypes.func, location: React.PropTypes.object, route: React.PropTypes.object, } diff --git a/src/pages/index.js b/src/pages/index.js index 794f56a..1a6f115 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -19,9 +19,10 @@ class BlogIndex extends React.Component { if (post.node.path !== "/404/") { const title = get(post, "node.frontmatter.title") || post.node.path return ( -
+