Merge pull request #16429 from jameskaupert/feature/add_default_project_img

feat(challenges): Add default project image when none exists
pull/16447/head^2
Berkeley Martinez 2018-01-10 00:27:10 -08:00 committed by GitHub
commit c27250eec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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 />