Removed author from cards (author may not be an available field)

This commit is contained in:
Cássio Zen 2016-10-27 10:54:24 -02:00
parent c3b4fd9013
commit 6ff7019e7c
2 changed files with 0 additions and 3 deletions

View File

@ -17,7 +17,6 @@ const ImageCard = (
>
<CardTitle
title={text}
subtitle={`by ${ author }`}
/>
{
image && <CardMedia aspectRatio="wide">
@ -33,7 +32,6 @@ const ImageCard = (
);
ImageCard.propTypes = {
author: PropTypes.string,
image: PropTypes.string,
onClick: PropTypes.func,
onImageLoaded: PropTypes.func,

View File

@ -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'])]),