Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Services page #9

Merged
merged 2 commits into from
Jul 15, 2019
Merged

Services page #9

merged 2 commits into from
Jul 15, 2019

Conversation

minglethepringle
Copy link
Contributor

No description provided.

<img className="w-100" src={vendor.logo}/>
<h3 className="pt-3">{vendor.vendor}</h3>
<p className="action-tags">
{vendor.categories.map((category) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

add a key


renderVendors(vendors) {
return vendors.map((vendor) => {
return (
Copy link
Contributor

Choose a reason for hiding this comment

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

add a key so the warnings don't show up in the console

<div className="col-12 mt-3">
<span><b>Services:</b></span>
<ul className="normal">
{vendor.services.map((action) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

add a key

Copy link
Contributor

@ki3ranoday ki3ranoday left a comment

Choose a reason for hiding this comment

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

just add keys to all the object.map functions so all the warnings don't pop up

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.

None yet

2 participants