From 68816ebacb215d8cb7fbc70e1fd922188b4f9a3b Mon Sep 17 00:00:00 2001 From: Vitor Dino Date: Wed, 19 Sep 2018 11:22:10 -0300 Subject: [PATCH] templates/about-page: remove items to fix build --- .../src/templates/about-page/gatsby.js | 5 ----- .../campus-online-frontend/src/templates/about-page/index.js | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/campus-online-frontend/src/templates/about-page/gatsby.js b/packages/campus-online-frontend/src/templates/about-page/gatsby.js index 1965e73e..b9d9717d 100644 --- a/packages/campus-online-frontend/src/templates/about-page/gatsby.js +++ b/packages/campus-online-frontend/src/templates/about-page/gatsby.js @@ -14,7 +14,6 @@ AboutPage.propTypes = { markdownRemark: PropTypes.shape({ frontmatter: PropTypes.shape({ title: PropTypes.string, - items: PropTypes.array, }).isRequired, html: PropTypes.node.isRequired, }), @@ -43,10 +42,6 @@ export const aboutPageQuery = graphql` html frontmatter { title - items { - title - text - } } } authorList: allMarkdownRemark( diff --git a/packages/campus-online-frontend/src/templates/about-page/index.js b/packages/campus-online-frontend/src/templates/about-page/index.js index e72f1d46..198ade73 100644 --- a/packages/campus-online-frontend/src/templates/about-page/index.js +++ b/packages/campus-online-frontend/src/templates/about-page/index.js @@ -8,10 +8,9 @@ import {Row, Cell} from '../../components/Grid' import Text from '../../components/Text' import Content from '../../components/Content' import AboutHero from '../../components/AboutHero' -import Items from '../../components/Items' import AuthorCard from '../../components/AuthorCard' -const AboutPage = ({title, items, content, authors}) => ( +const AboutPage = ({title, content, authors}) => (
( /> - {!!items.length > 0 && } {content && (