Skip to content

Commit f927ac0

Browse files
committed
Remove commented code
1 parent 92cb3c6 commit f927ac0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

components/Cart/Cart.component.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,9 @@ import { AppContext } from 'utils/context/AppContext';
1010
const Cart = ({ stickyNav }) => {
1111
const [cart] = useContext(AppContext);
1212

13-
/*const productsCount = cart.contents.nodes.reduce(
14-
(total, product) => total + product.quantity,
15-
0
16-
);*/
17-
1813
const productsCount =
1914
null !== cart && Object.keys(cart).length ? cart.totalProductsCount : '';
2015

21-
22-
2316
return (
2417
<>
2518
<Link href="/handlekurv">

0 commit comments

Comments
 (0)