summaryrefslogtreecommitdiffstats
path: root/components/Page.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2017-09-15 14:26:13 -0400
committerWes Bos <wesbos@gmail.com>2017-09-15 14:26:13 -0400
commit1450e579c67e3d969cb099dfe6c1cefd1e313fb5 (patch)
tree5c255968082c16452f1dc8245dbbb890f91dce87 /components/Page.js
parent7af74ff8988961c988f03c95961b70c2918521ae (diff)
yep
Diffstat (limited to 'components/Page.js')
-rw-r--r--components/Page.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/components/Page.js b/components/Page.js
index 1b07fe6..c05eeb7 100644
--- a/components/Page.js
+++ b/components/Page.js
@@ -1,6 +1,5 @@
import Header from './Header'
import Meta from './Meta'
-import withData from '../lib/withData';
import Nav from './Nav';
import styled from 'styled-components';
@@ -14,12 +13,10 @@ const StyledPage = styled.div`
const Page = ({ children }) => (
<StyledPage className="main">
<Meta />
- <Header />
<Nav></Nav>
- <div>
- { children }
- </div>
+ <Header />
+ { children }
</StyledPage>
)
-export default withData(Page);
+export default Page;