Great catch — I forgot to finish that snippet! Corrected. Thanks so much Patrick!
Cory House

don’t forget to replace the “” with {}

onClick=”this.onSelect.bind(this, hero)”

should be

onClick={this.onSelect.bind(this, hero)}

Like what you read? Give PatrickJS a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.