fixed bug with amount not updating / solved double dispatch problem with cartAction.load / removed all console.log calls - it became too chatty / add them as needed
This commit is contained in:
@@ -27,7 +27,8 @@ var CartPage = React.createClass({
|
||||
<div key={i.get('id')} className="row cart-items">
|
||||
<div className="col-md-3"><SingleItem item={i} hidePrice={true}/> </div>
|
||||
<div className="col-md-2"> { Globals.FormatCurrency(price) }</div>
|
||||
<div className="col-md-3"> <AddToCart itemId={i.get('id')} /> </div>
|
||||
<div className="col-md-3">
|
||||
42 </div>
|
||||
<div className="col-md-2"> { Globals.FormatCurrency(count * price) }</div>
|
||||
</div>
|
||||
|
||||
@@ -65,7 +66,7 @@ var CartPage = React.createClass({
|
||||
|
||||
};
|
||||
|
||||
console.log("length :" , this.state.items.length);
|
||||
|
||||
|
||||
return (
|
||||
|
||||
|
||||
Reference in New Issue
Block a user