From d26222b5e502d02adf809deb55b84f83a94f8e50 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Thu, 15 Oct 2020 18:11:00 -0300 Subject: [PATCH] Changes --- components/cart/CartItem/CartItem.tsx | 2 -- components/cart/CartSidebarView/CartSidebarView.tsx | 9 +++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/components/cart/CartItem/CartItem.tsx b/components/cart/CartItem/CartItem.tsx index fa472afd0..622001e8d 100644 --- a/components/cart/CartItem/CartItem.tsx +++ b/components/cart/CartItem/CartItem.tsx @@ -53,8 +53,6 @@ const CartItem = ({ } }, [item.quantity]) - console.log(item) - return (
  • diff --git a/components/cart/CartSidebarView/CartSidebarView.tsx b/components/cart/CartSidebarView/CartSidebarView.tsx index f1274de16..23ead0008 100644 --- a/components/cart/CartSidebarView/CartSidebarView.tsx +++ b/components/cart/CartSidebarView/CartSidebarView.tsx @@ -27,9 +27,6 @@ const CartSidebarView: FC = () => { const items = data?.line_items.physical_items ?? [] - console.log('CART', data, isEmpty) - - // This should come from the API via hook I guess const error = null const success = null @@ -95,7 +92,7 @@ const CartSidebarView: FC = () => {

    My Cart

    -
      +
        {items.map((item) => ( {
    -
    +
    • Subtotal @@ -122,7 +119,7 @@ const CartSidebarView: FC = () => { FREE
    -
    +
    Total {total}