diff --git a/components/SitePage/index.jsx b/components/SitePage/index.jsx index 10f9152..f92ad56 100644 --- a/components/SitePage/index.jsx +++ b/components/SitePage/index.jsx @@ -33,8 +33,7 @@ class SitePage extends React.Component { } SitePage.propTypes = { - post: React.PropTypes.object.isRequired, - pages: React.PropTypes.array, + route: React.PropTypes.object.isRequired, } export default SitePage diff --git a/components/SitePost/index.jsx b/components/SitePost/index.jsx index 942f4f4..01a693a 100644 --- a/components/SitePost/index.jsx +++ b/components/SitePost/index.jsx @@ -46,8 +46,7 @@ class SitePost extends React.Component { } SitePost.propTypes = { - post: React.PropTypes.object.isRequired, - pages: React.PropTypes.array, + route: React.PropTypes.object.isRequired } export default SitePost diff --git a/pages/index.jsx b/pages/index.jsx index b1853e5..fcbeeed 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -23,7 +23,7 @@ class SiteIndex extends React.Component { const category = access(page, 'data.category') pageLinks.push( -