File tree Expand file tree Collapse file tree 2 files changed +11
-17
lines changed
Expand file tree Collapse file tree 2 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 11import { useState } from 'react' ;
22
3- import SVGX from "components/SVG/SVGX.component"
4-
3+ import SVGX from 'components/SVG/SVGX.component' ;
54
65const CartItem = ( {
76 item,
@@ -16,16 +15,11 @@ const CartItem = ({
1615 < tr className = "bg-gray-100" >
1716 < td className = "px-4 py-2 border" >
1817 < span >
19- < SVGX
20- onClick = { ( ) => {
21- //setisExpanded(!isExpanded);
22- } }
18+ < SVGX
19+ onClick = { ( ) => {
20+ //setisExpanded(!isExpanded);
21+ } }
2322 />
24-
25-
26-
27-
28-
2923 </ span >
3024 </ td >
3125 < td className = "px-4 py-2 border" >
@@ -44,18 +38,16 @@ const CartItem = ({
4438 </ td >
4539
4640 < td className = "px-4 py-2 border" >
47- < input type = "number" min = "1" value = { productCount } />
41+ < input
42+ className = "w-6"
43+ type = "number" min = "1" value = { productCount } />
4844 </ td >
4945
5046 < td className = "px-4 py-2 border" >
5147 { 'string' !== typeof item . totalPrice
5248 ? item . totalPrice . toFixed ( 2 )
5349 : item . totalPrice }
5450 </ td >
55-
56-
57-
58-
5951 </ tr >
6052 ) ;
6153} ;
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ const CartItemsContainer = () => {
5252 < section className = "py-8 bg-white" >
5353 < div className = "container flex flex-wrap items-center mx-auto" >
5454 { cart ? (
55- < div className = "p-6 mx-auto mt-5" >
55+ < div
56+ className = "p-6 mx-auto mt-5"
57+ >
5658 < PageTitle title = "Handlekurv" />
5759 < table className = "table-auto" >
5860 < thead >
You can’t perform that action at this time.
0 commit comments