File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ const styles = (theme) => ({
3232 fontWeight : theme . typography . fontWeightRegular ,
3333 marginTop : "1.6rem" ,
3434 marginBottom : "3.1rem"
35+ } ,
36+ itemWrapper : {
37+ borderTop : theme . palette . borders . default ,
38+ borderBottom : theme . palette . borders . default
3539 }
3640} ) ;
3741
@@ -92,13 +96,15 @@ class CartPage extends Component {
9296 if ( cart && Array . isArray ( cart . items ) && cart . items . length ) {
9397 return (
9498 < Grid item xs = { 12 } md = { 8 } >
95- < CartItems
96- hasMoreCartItems = { hasMoreCartItems }
97- onLoadMoreCartItems = { loadMoreCartItems }
98- items = { cart . items }
99- onChangeCartItemQuantity = { this . handleItemQuantityChange }
100- onRemoveItemFromCart = { this . handleRemoveItem }
101- />
99+ < div className = { classes . itemWrapper } >
100+ < CartItems
101+ hasMoreCartItems = { hasMoreCartItems }
102+ onLoadMoreCartItems = { loadMoreCartItems }
103+ items = { cart . items }
104+ onChangeCartItemQuantity = { this . handleItemQuantityChange }
105+ onRemoveItemFromCart = { this . handleRemoveItem }
106+ />
107+ </ div >
102108 </ Grid >
103109 ) ;
104110 }
You can’t perform that action at this time.
0 commit comments