blob: eb0dd1d3ec017630d1b2f21f547a90c722ed0602 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { Component } from 'react';
import Page from '../components/Page';
import withData from '../lib/withData';
import CreateItem from '../components/CreateItem';
import PleaseSignIn from '../components/PleaseSignIn';
const Home = props => {
const page = parseInt(props.url.query.page) || 1;
return (
<Page>
<PleaseSignIn>
<CreateItem />
</PleaseSignIn>
</Page>
);
};
export default withData(Home);
|