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';
99 * Displays amount of items in cart.
1010 */
1111const Cart = ( ) => {
12- const [ cart , setCart ] = useContext ( AppContext ) ;
12+ const [ cart ] = useContext ( AppContext ) ;
1313
1414 const productsCount =
1515 null !== cart && Object . keys ( cart ) . length ? cart . totalProductsCount : '' ;
@@ -18,15 +18,15 @@ const Cart = () => {
1818 < >
1919 < Link href = "/handlekurv" >
2020 < a
21- className = "inline-block pl-3 no-underline hover:text-black "
21+ className = "inline-block pl-4 mt-4 no-underline "
2222 aria-label = "Handlekurv"
2323 >
2424 < svg
25- className = "fill-current hover:text-black "
25+ className = "fill-current"
2626 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 "
3030 aria-label = "Handlekurv"
3131 >
3232 < path
@@ -40,7 +40,7 @@ const Cart = () => {
4040 </ Link >
4141 { /*Cart quantity */ }
4242 { 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" >
4444 { productsCount }
4545 </ span >
4646 ) }
You can’t perform that action at this time.
0 commit comments