diff --git a/components/cart/CartSidebarView/CartSidebarView.tsx b/components/cart/CartSidebarView/CartSidebarView.tsx index 54b6fcd3e..3927a08a1 100644 --- a/components/cart/CartSidebarView/CartSidebarView.tsx +++ b/components/cart/CartSidebarView/CartSidebarView.tsx @@ -11,14 +11,18 @@ import useOpenCheckout from '@lib/bigcommerce/cart/use-open-checkout' const CartSidebarView: FC = () => { const { data, isEmpty } = useCart() - const { price: subTotal } = usePrice(data && { - amount: data.base_amount, - currencyCode: data.currency.code, - }) - const { price: total } = usePrice(data && { - amount: data.cart_amount, - currencyCode: data.currency.code, - }) + const { price: subTotal } = usePrice( + data && { + amount: data.base_amount, + currencyCode: data.currency.code, + } + ) + const { price: total } = usePrice( + data && { + amount: data.cart_amount, + currencyCode: data.currency.code, + } + ) const openCheckout = useOpenCheckout() const { closeSidebar } = useUI() const handleClose = () => closeSidebar() @@ -87,7 +91,7 @@ const CartSidebarView: FC = () => { ) : ( <>
-

+

My Cart