From a0793f3c61e4bc702bb181cb2d3b0d352c3ccb45 Mon Sep 17 00:00:00 2001 From: Leejin Yang Date: Thu, 19 Oct 2023 22:30:43 +0900 Subject: [PATCH] =?UTF-8?q?[FE]=20fix:=20=EC=83=81=ED=92=88=20=EC=95=84?= =?UTF-8?q?=EC=9D=B4=ED=85=9C=20null=20=EC=B2=98=EB=A6=AC=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0=20(#832)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Product/ProductItem/ProductItem.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/components/Product/ProductItem/ProductItem.tsx b/frontend/src/components/Product/ProductItem/ProductItem.tsx index b1e935dd..43dc773e 100644 --- a/frontend/src/components/Product/ProductItem/ProductItem.tsx +++ b/frontend/src/components/Product/ProductItem/ProductItem.tsx @@ -19,10 +19,6 @@ const ProductItem = ({ product }: ProductItemProps) => { const { name, price, image, averageRating, reviewCount } = product; const [isImageLoading, setIsImageLoading] = useState(true); - if (!category) { - return null; - } - return ( {image ? (