diff --git a/components/cart/CartSidebarView/CartSidebarView.tsx b/components/cart/CartSidebarView/CartSidebarView.tsx index e2cfab68c..74c388bfb 100644 --- a/components/cart/CartSidebarView/CartSidebarView.tsx +++ b/components/cart/CartSidebarView/CartSidebarView.tsx @@ -10,6 +10,7 @@ const CartSidebarView: FC = () => { const { data, isEmpty } = useCart() const { closeSidebar } = useUI() const items = data?.line_items.physical_items ?? [] + const handleClose = () => closeSidebar() console.log('CART', data, isEmpty) @@ -19,7 +20,7 @@ const CartSidebarView: FC = () => {
+
) : ( <>