We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb672c commit 97dbd96Copy full SHA for 97dbd96
components/Cart/Cart.component.jsx
@@ -16,9 +16,6 @@ const Cart = ({ stickyNav }) => {
16
17
return (
18
<>
19
- {stickyNav &&
20
- (
21
-
22
<Link href="/handlekurv">
23
<a
24
className="pl-4 mt-4 no-underline inline-block"
@@ -41,23 +38,15 @@ const Cart = ({ stickyNav }) => {
41
38
</svg>
42
39
</a>
43
40
</Link>
44
- )}
45
46
47
48
49
- {productsCount && stickyNav && (
+ {productsCount && (
50
<span
51
className={`w-6 h-6 pb-2 -mt-5 text-center rounded-full
52
${stickyNav ? 'text-black bg-white' : 'text-white bg-black'}`}
53
>
54
{productsCount}
55
</span>
56
)}
57
58
59
60
61
</>
62
);
63
};
0 commit comments