Added name and price of the cart item

This commit is contained in:
Luis Alvarez
2020-10-06 17:16:06 -05:00
parent e341d6b5f3
commit 835298ac92
4 changed files with 67 additions and 5 deletions

View File

@@ -50,7 +50,11 @@ const CartSidebarView: FC = () => {
<div className="px-4 sm:px-6 py-4 flex-1">
<ul className="py-6 space-y-6 sm:py-0 sm:space-y-0 sm:divide-y sm:divide-gray-200">
{items.map((item) => (
<CartItem key={item.id} />
<CartItem
key={item.id}
item={item}
currencyCode={data?.currency.code!}
/>
))}
</ul>
</div>