Merge pull request #16429 from jameskaupert/feature/add_default_project_img

feat(challenges): Add default project image when none exists
This commit is contained in:
Berkeley Martinez
2018-01-10 00:27:10 -08:00
committed by GitHub

View File

@ -41,7 +41,7 @@ export class Project extends PureComponent {
const {
id,
title,
image,
image = 'ovKSXMs',
isCompleted,
description
} = this.props;
@ -59,7 +59,7 @@ export class Project extends PureComponent {
<Image
id={ id }
responsive={ true }
src={ image ? imageURL : false }
src={ imageURL }
/>
<br />
<ToolPanel />