summaryrefslogtreecommitdiffstats
path: root/pages/add.js
blob: 9b8c33306265b5431ca4d86606bacce70c0d23b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Component } from 'react';
import Page from '../components/Page';
import withData from '../lib/withData';
import CreateItem from '../components/CreateItem';

const Home = props => {
  const page = parseInt(props.url.query.page) || 1;
  return (
    <Page>
      <h2>Add an Item</h2>
      <CreateItem />
    </Page>
  );
};

export default withData(Home);