Skip to content

Conversation

@grojeda
Copy link

@grojeda grojeda commented Oct 25, 2019

No description provided.

}
if (data.results) {
return data.results.map((poke, i) => <p key={`poke-${i}`}>{poke.name}</p>);
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can add the situation when the data have 0 results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants