summaryrefslogtreecommitdiffstats
path: root/frontend/pages/add.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-04-05 13:54:22 -0400
committerWes Bos <wesbos@gmail.com>2018-04-05 13:54:22 -0400
commitf4f10d5eb690a33dd1c112358457a2b987297f26 (patch)
treed97326763dd016c13a068fb7dee40fc0b9667f83 /frontend/pages/add.js
parenta75b2491758a451283e2a373bb3fbe886520b345 (diff)
work
Diffstat (limited to 'frontend/pages/add.js')
-rw-r--r--frontend/pages/add.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/pages/add.js b/frontend/pages/add.js
index 9b8c333..eb0dd1d 100644
--- a/frontend/pages/add.js
+++ b/frontend/pages/add.js
@@ -2,13 +2,15 @@ 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>
- <h2>Add an Item</h2>
- <CreateItem />
+ <PleaseSignIn>
+ <CreateItem />
+ </PleaseSignIn>
</Page>
);
};