From 3ee1cc40f2cde3d481164508b2c579fafb4ffb71 Mon Sep 17 00:00:00 2001 From: Kingsley Solomon Date: Wed, 24 Jul 2024 17:06:35 +0100 Subject: [PATCH] fix: resolved testing error in user dashboard --- .../products/_components/product-detail-modal.tsx | 2 +- .../products/_components/product-detail-view.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(user-dashboard)/products/_components/product-detail-modal.tsx b/src/app/(user-dashboard)/products/_components/product-detail-modal.tsx index 4d9995cc8..ba9295455 100644 --- a/src/app/(user-dashboard)/products/_components/product-detail-modal.tsx +++ b/src/app/(user-dashboard)/products/_components/product-detail-modal.tsx @@ -2,8 +2,8 @@ import { AnimatePresence, motion } from "framer-motion"; import { Loader2, X } from "lucide-react"; import { useEffect, useState } from "react"; -import { Button } from "~/components/common/button"; import BlurImage from "~/components/miscellaneous/blur-image"; +import { Button } from "~/components/ui/button"; import { toast } from "~/components/ui/use-toast"; import { useProductModal } from "~/hooks/admin-product/use-product.modal"; import { useProducts } from "~/hooks/admin-product/use-products.persistence"; diff --git a/src/app/(user-dashboard)/products/_components/product-detail-view.tsx b/src/app/(user-dashboard)/products/_components/product-detail-view.tsx index 0eeb0de35..ae2cd0b24 100644 --- a/src/app/(user-dashboard)/products/_components/product-detail-view.tsx +++ b/src/app/(user-dashboard)/products/_components/product-detail-view.tsx @@ -2,8 +2,8 @@ import { AnimatePresence, motion } from "framer-motion"; import { Loader2, X } from "lucide-react"; import { useTransition } from "react"; -import { Button } from "~/components/common/button"; import BlurImage from "~/components/miscellaneous/blur-image"; +import { Button } from "~/components/ui/button"; import { toast } from "~/components/ui/use-toast"; import { useProductModal } from "~/hooks/admin-product/use-product.modal"; import { useProducts } from "~/hooks/admin-product/use-products.persistence";