Skip to content

Instantly share code, notes, and snippets.

@alaingoldman
Created April 23, 2018 14:31
Show Gist options
  • Save alaingoldman/2969703fa09d6b6b335bf64c4cba6d27 to your computer and use it in GitHub Desktop.
Save alaingoldman/2969703fa09d6b6b335bf64c4cba6d27 to your computer and use it in GitHub Desktop.
informationSection = async () => {
if(!this.state.xx){ return; }
let etherianInfo = Api.getMonsterDefinition(this.state.xx);
return(
<div>
etherianInfo.name
</div>
);
}
render() {
return(
<div>
{this.informationSection()}
</div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment