Update dependencies, use .js file extensions
This commit is contained in:
parent
4d3c5ca244
commit
65431b45bb
7 changed files with 28 additions and 21 deletions
|
|
@ -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')}
|
||||
Loading…
Add table
Add a link
Reference in a new issue