From 6ff7019e7c303d7987c5eaeb47ca113f301adf41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1ssio=20Zen?= Date: Thu, 27 Oct 2016 10:54:24 -0200 Subject: [PATCH] Removed author from cards (author may not be an available field) --- src/components/Cards/ImageCard.js | 2 -- src/components/EntryListing.js | 1 - 2 files changed, 3 deletions(-) diff --git a/src/components/Cards/ImageCard.js b/src/components/Cards/ImageCard.js index 867b4257..92d06fbb 100644 --- a/src/components/Cards/ImageCard.js +++ b/src/components/Cards/ImageCard.js @@ -17,7 +17,6 @@ const ImageCard = ( > { image && @@ -33,7 +32,6 @@ const ImageCard = ( ); ImageCard.propTypes = { - author: PropTypes.string, image: PropTypes.string, onClick: PropTypes.func, onImageLoaded: PropTypes.func, diff --git a/src/components/EntryListing.js b/src/components/EntryListing.js index 4464ded1..27f7395d 100644 --- a/src/components/EntryListing.js +++ b/src/components/EntryListing.js @@ -77,7 +77,6 @@ export default class EntryListing extends React.Component { const card = Cards[cardType] || Cards.unknown; return React.createElement(card, { key: entry.get('slug'), - author: entry.getIn(['data', 'author']), collection, description: entry.getIn(['data', collection.getIn(['card', 'description'])]), image: entry.getIn(['data', collection.getIn(['card', 'image'])]),