feat(challenges): Add default project image when none exists
BREAKING CHANGE: none Closes #16426
This commit is contained in:
@ -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 />
|
||||
|
Reference in New Issue
Block a user