Skip to content

Assignment 3#3

Open
raymondfrenchmore wants to merge 4 commits into
modern-web-application-uw18:masterfrom
raymondfrenchmore:master
Open

Assignment 3#3
raymondfrenchmore wants to merge 4 commits into
modern-web-application-uw18:masterfrom
raymondfrenchmore:master

Conversation

@raymondfrenchmore

Copy link
Copy Markdown

No description provided.

@irenab1 irenab1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good

<ShoppingCartItem removeFromCart={this.props.removeFromCart(index)} key={index} title={product.title} cost={product.payment.cost} />
)}
<div className="minicart-footer">
<div className="minicart-subtotal"> ${this.props.getCartTotal()} USD </div>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think getCartTotal should be a function inside ShoppingCart component, not something external to it

bmlebeuf added a commit to bmlebeuf/week3 that referenced this pull request Jun 23, 2018
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