Skip to content

Kyle Rhodes#31

Open
k-rhodes wants to merge 1 commit intoAustinCodingAcademy:masterfrom
k-rhodes:master
Open

Kyle Rhodes#31
k-rhodes wants to merge 1 commit intoAustinCodingAcademy:masterfrom
k-rhodes:master

Conversation

@k-rhodes
Copy link

No description provided.

function ProductDetail (props) {


let displayProducts = props.products.map((product)=> {
Copy link
Contributor

Choose a reason for hiding this comment

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

technically this is fine, but ProductDetail is suppose to represent one product
the map should happen in App because that is where the decision is made to show multiple products

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