Update dependencies, use .js file extensions

This commit is contained in:
Gianluca Esposito 2016-02-21 23:45:50 +01:00
parent 4d3c5ca244
commit 65431b45bb
7 changed files with 28 additions and 21 deletions

View file

@ -10,7 +10,8 @@ import '../css/zenburn.css'
class MarkdownWrapper extends React.Component {
render () {
const post = this.props.route.page.data
const { route } = this.props
const post = route.page.data
return (
<DocumentTitle title={`${post.title} | ${config.blogTitle}`}>
@ -30,7 +31,7 @@ class MarkdownWrapper extends React.Component {
marginBottom: rhythm(2),
}}
/>
<ReadNext post={post} pages={this.props.route.pages} />
<ReadNext post={post} pages={route.pages} />
<p>
<img
src={link('/kyle-round-small-pantheon.jpg')}