1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Update blog.js

This commit is contained in:
Guillermo Rauch 2016-12-20 12:35:34 -08:00 committed by GitHub
parent ff62d6f631
commit f51696be08

View file

@ -1,6 +1,6 @@
import React, { Component } from 'react'
import React from 'react'
export default class extends Component {
export default class extends React.Component {
static getInitialProps ({ query: { id } }) {
return { id }
}