File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const Billing = ({ onSubmit }) => {
34
34
< >
35
35
< section className = "relative text-gray-700 body-font" >
36
36
< form onSubmit = { handleSubmit ( onSubmit ) } >
37
- < div className = "container py-2 mx-auto ml-8 " >
37
+ < div className = "container py-2 mx-auto ml-6 " >
38
38
< CheckoutTitle title = "Betalingsdetaljer" />
39
39
< div className = "mx-auto lg:w-1/2 md:w-2/3" >
40
40
< div className = "flex flex-wrap -m-2" >
Original file line number Diff line number Diff line change 1
- import { useState } from 'react' ;
2
-
3
1
const OrderDetailsCartItem = ( { item } ) => {
4
- const [ productCount , setProductCount ] = useState ( item . qty ) ;
5
-
6
2
return (
7
3
< tr className = "bg-gray-100" >
8
4
< td className = "px-0 py-2 border sm:px-4 md:px-4 lg:px-4 xl:px-4" >
@@ -21,7 +17,7 @@ const OrderDetailsCartItem = ({ item }) => {
21
17
{ 'string' !== typeof item . price ? item . price . toFixed ( 2 ) : item . price }
22
18
</ td >
23
19
24
- < td className = "px-4 py-2 border" > { productCount } </ td >
20
+ < td className = "px-4 py-2 border" > { item . qty } </ td >
25
21
26
22
< td className = "px-4 py-2 border" >
27
23
{ 'string' !== typeof item . totalPrice
Original file line number Diff line number Diff line change 1
- import PageTitle from 'components/Header/PageTitle.component' ;
2
1
import CheckoutForm from 'components/Checkout/CheckoutForm.component' ;
3
2
4
3
const Kasse = ( ) => (
5
4
< >
6
- < PageTitle title = "Kasse" />
7
5
< CheckoutForm />
8
6
</ >
9
7
) ;
You can’t perform that action at this time.
0 commit comments