Update image format for API change

Removed default `image` field convention
This commit is contained in:
Ray Schamp 2016-07-20 13:47:43 -04:00
parent a3b56dcbf1
commit 754859f35f

View file

@ -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}