mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Update image format for API change
Removed default `image` field convention
This commit is contained in:
parent
a3b56dcbf1
commit
754859f35f
1 changed files with 2 additions and 2 deletions
|
@ -749,7 +749,7 @@ module.exports = {
|
|||
<Card>
|
||||
<div className="contents">
|
||||
<h3>{this.props.classroom.title}</h3>
|
||||
<img className="class-image" src={this.props.classroom.image} />
|
||||
<img className="class-image" src={this.props.classroom.images['250x150']} />
|
||||
</div>
|
||||
<NextStepButton onClick={this.onNextStep}
|
||||
waiting={this.props.waiting}
|
||||
|
@ -793,7 +793,7 @@ module.exports = {
|
|||
<Card>
|
||||
<div className="contents">
|
||||
<h3>{this.props.classroom.title}</h3>
|
||||
<img className="class-image" src={this.props.classroom.image} />
|
||||
<img className="class-image" src={this.props.classroom.images['250x150']} />
|
||||
<p>{this.props.messages['registration.welcomeStepPrompt']}</p>
|
||||
</div>
|
||||
<NextStepButton onClick={this.onNextStep}
|
||||
|
|
Loading…
Reference in a new issue