Great catch — I forgot to finish that snippet! Corrected. Thanks so much Patrick!
Cory House
1
don’t forget to replace the “” with {}
onClick=”this.onSelect.bind(this, hero)”
should be
onClick={this.onSelect.bind(this, hero)}
don’t forget to replace the “” with {}
onClick=”this.onSelect.bind(this, hero)”
should be
onClick={this.onSelect.bind(this, hero)}