summaryrefslogtreecommitdiffstats
path: root/frontend/pages/index.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-15 11:01:32 -0400
committerWes Bos <wesbos@gmail.com>2018-05-15 11:01:32 -0400
commit4daef52d648db9953e68fa99495db047833a4ad9 (patch)
tree88257aa26c3ca9bcd3188f5f0cb680befc64fe31 /frontend/pages/index.js
parenta87f7f9b49a8de91f8c65476c9badccc2c4c69c6 (diff)
move user check to _app
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);