-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
<img className="w-100" src={vendor.logo}/> | ||
<h3 className="pt-3">{vendor.vendor}</h3> | ||
<p className="action-tags"> | ||
{vendor.categories.map((category) => { |
There was a problem hiding this comment.
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 ( |
There was a problem hiding this comment.
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) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a key
There was a problem hiding this 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
No description provided.