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

Show your support

Clapping shows how much you appreciated PatrickJS’s story.