diff --git a/src/components/common/MediaCard.js b/src/components/common/MediaCard.js
index c93b34c4..f18ff97c 100644
--- a/src/components/common/MediaCard.js
+++ b/src/components/common/MediaCard.js
@@ -30,7 +30,7 @@ const MediaCard = props => {
{name}
- {text}
+
{button}
@@ -41,8 +41,12 @@ MediaCard.propTypes = {
classes: PropTypes.shape({ media: PropTypes.string.isRequired }).isRequired,
name: PropTypes.string.isRequired,
image: PropTypes.string.isRequired,
- text: PropTypes.string.isRequired,
+ text: PropTypes.string,
button: PropTypes.shape(Button).isRequired,
};
+MediaCard.defaultProps = {
+ text: '',
+};
+
export default withStyles(styles)(MediaCard);
diff --git a/src/components/space/SpaceGrid.js b/src/components/space/SpaceGrid.js
index 131ecf0e..b06fcaec 100644
--- a/src/components/space/SpaceGrid.js
+++ b/src/components/space/SpaceGrid.js
@@ -81,7 +81,7 @@ class SpaceGrid extends Component {
const { spaces, classes, history } = this.props;
const MediaCards = spaces.map(space => {
- const { id, name, image = {}, text } = space;
+ const { id, name, image = {}, description } = space;
const { replace } = history;
const ViewButton = (