File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { AppContext } from 'utils/context/AppContext';
9
9
* Displays amount of items in cart.
10
10
*/
11
11
const Cart = ( ) => {
12
- const [ cart , setCart ] = useContext ( AppContext ) ;
12
+ const [ cart ] = useContext ( AppContext ) ;
13
13
14
14
const productsCount =
15
15
null !== cart && Object . keys ( cart ) . length ? cart . totalProductsCount : '' ;
@@ -18,15 +18,15 @@ const Cart = () => {
18
18
< >
19
19
< Link href = "/handlekurv" >
20
20
< a
21
- className = "inline-block pl-3 no-underline hover:text-black "
21
+ className = "inline-block pl-4 mt-4 no-underline "
22
22
aria-label = "Handlekurv"
23
23
>
24
24
< svg
25
- className = "fill-current hover:text-black "
25
+ className = "fill-current"
26
26
xmlns = "http://www.w3.org/2000/svg"
27
- width = "24 "
28
- height = "24 "
29
- viewBox = "0 0 24 24 "
27
+ width = "50 "
28
+ height = "55 "
29
+ viewBox = "0 0 30 30 "
30
30
aria-label = "Handlekurv"
31
31
>
32
32
< path
@@ -40,7 +40,7 @@ const Cart = () => {
40
40
</ Link >
41
41
{ /*Cart quantity */ }
42
42
{ productsCount && (
43
- < span className = "w-6 h-6 pb-2 -mt-6 text-center text-white bg-black rounded-full" >
43
+ < span className = "w-6 h-6 pb-2 -mt-5 text-center text-white bg-black rounded-full" >
44
44
{ productsCount }
45
45
</ span >
46
46
) }
You can’t perform that action at this time.
0 commit comments