From e33a330786ffbfcd774de00dc697c6dff47faf27 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Mon, 20 Feb 2023 14:20:44 +0700 Subject: fix --- src/lib/cart/components/Cart.jsx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/cart/components') diff --git a/src/lib/cart/components/Cart.jsx b/src/lib/cart/components/Cart.jsx index 4b9dd41f..bb1f21f6 100644 --- a/src/lib/cart/components/Cart.jsx +++ b/src/lib/cart/components/Cart.jsx @@ -9,6 +9,7 @@ import { createSlug } from "@/core/utils/slug" import { useRouter } from "next/router" import BottomPopup from "@/core/components/elements/Popup/BottomPopup" import { toast } from "react-hot-toast" +import Spinner from "@/core/components/elements/Spinner/Spinner" const Cart = () => { const router = useRouter() @@ -119,6 +120,11 @@ const Cart = () => {
+ { cart.isLoading && ( +
+ +
+ ) } { products?.map((product) => (