summaryrefslogtreecommitdiffstats
path: root/frontend/pages/add.js
diff options
context:
space:
mode:
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>
);
};