summaryrefslogtreecommitdiffstats
path: root/frontend/pages/index.js
diff options
context:
space:
mode:
authorLuis Alvarez <luisito453@gmail.com>2018-05-15 10:24:50 -0500
committerLuis Alvarez <luisito453@gmail.com>2018-05-15 10:24:50 -0500
commitb5777a7ea315e170ed56240e8fb6f8cdda9d9949 (patch)
tree323764f4d91cd5bdf7c658be432c244fde05984e /frontend/pages/index.js
parentc1bba67bb267adf2597a0ed5d0035d81dbdb412b (diff)
parentb70155110425b283e9b550a9c0cfec00f0f93c10 (diff)
Merge branch 'master' of https://github.com/wesbos/Advanced-React
Diffstat (limited to 'frontend/pages/index.js')
-rw-r--r--frontend/pages/index.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/frontend/pages/index.js b/frontend/pages/index.js
index 920ec9b..1dca5e1 100644
--- a/frontend/pages/index.js
+++ b/frontend/pages/index.js
@@ -4,10 +4,6 @@ import Items from '../components/Items';
import Page from '../components/Page';
class Home extends React.Component {
- static async getInitialProps({ query }) {
- return { query };
- }
-
render() {
const page = parseInt(this.props.query.page) || 1;
console.log(this.props);