Skip to content

Commit 97dbd96

Browse files
committed
Fix cart
1 parent eeb672c commit 97dbd96

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

components/Cart/Cart.component.jsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ const Cart = ({ stickyNav }) => {
1616

1717
return (
1818
<>
19-
{stickyNav &&
20-
(
21-
2219
<Link href="/handlekurv">
2320
<a
2421
className="pl-4 mt-4 no-underline inline-block"
@@ -41,23 +38,15 @@ const Cart = ({ stickyNav }) => {
4138
</svg>
4239
</a>
4340
</Link>
44-
)}
45-
4641

47-
48-
49-
{productsCount && stickyNav && (
42+
{productsCount && (
5043
<span
5144
className={`w-6 h-6 pb-2 -mt-5 text-center rounded-full
5245
${stickyNav ? 'text-black bg-white' : 'text-white bg-black'}`}
5346
>
5447
{productsCount}
5548
</span>
5649
)}
57-
58-
59-
60-
6150
</>
6251
);
6352
};

0 commit comments

Comments
 (0)