From cd72d3a1ef0cf217d2a20f79e59d1cb939335812 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Sat, 24 Oct 2020 19:14:34 -0300 Subject: [PATCH] Stiling --- components/cart/CartItem/CartItem.tsx | 15 +++++++++++---- pages/cart.tsx | 7 +++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/components/cart/CartItem/CartItem.tsx b/components/cart/CartItem/CartItem.tsx index cb3010d0f..bc74812e0 100644 --- a/components/cart/CartItem/CartItem.tsx +++ b/components/cart/CartItem/CartItem.tsx @@ -1,10 +1,11 @@ -import { ChangeEvent, useEffect, useState } from 'react' +import s from './CartItem.module.css' import Image from 'next/image' +import Link from 'next/link' +import { ChangeEvent, useEffect, useState } from 'react' import { Trash, Plus, Minus } from '@components/icon' import usePrice from '@lib/bigcommerce/use-price' import useUpdateItem from '@lib/bigcommerce/cart/use-update-item' import useRemoveItem from '@lib/bigcommerce/cart/use-remove-item' -import s from './CartItem.module.css' const CartItem = ({ item, @@ -53,7 +54,7 @@ const CartItem = ({ setQuantity(item.quantity) } }, [item.quantity]) - + console.log(item) return (
  • @@ -67,7 +68,13 @@ const CartItem = ({ />
    - {item.name} + {/** TODO: Replace this. No `path` found at Cart */} + + + {item.name} + + +