From d3838ccb799cd8c286efcea90d776e8b6936d484 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Fri, 11 May 2018 12:31:49 -0400 Subject: move apollo to _app --- frontend/pages/add.js | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'frontend/pages/add.js') diff --git a/frontend/pages/add.js b/frontend/pages/add.js index bbe89d6..118d6f9 100644 --- a/frontend/pages/add.js +++ b/frontend/pages/add.js @@ -1,17 +1,13 @@ 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 ( - - - - - - ); -}; +const Add = () => ( + + + + + +); -export default withData(Home); +export default Add; -- cgit v1.3