From 5721558ec9db3ec7d7b06432c43ca6a25720a48e Mon Sep 17 00:00:00 2001 From: TaeeunKim Date: Sat, 13 Apr 2024 12:19:39 +0200 Subject: [PATCH] =?UTF-8?q?refactor:=20ProductOverviewItem=20->=20ProductO?= =?UTF-8?q?VerviewList=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=EB=A1=9C=20?= =?UTF-8?q?=EA=B5=90=EC=B2=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Product/ProductOverviewList/ProductOverviewList.tsx | 6 +++--- .../ProductSearchListPage/ProductSearchListPage.tsx | 2 +- src/pages/RecipeDetailPage/RecipeDetailPage.tsx | 9 ++------- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/components/Product/ProductOverviewList/ProductOverviewList.tsx b/src/components/Product/ProductOverviewList/ProductOverviewList.tsx index 66d615cb..eb91ba36 100644 --- a/src/components/Product/ProductOverviewList/ProductOverviewList.tsx +++ b/src/components/Product/ProductOverviewList/ProductOverviewList.tsx @@ -8,10 +8,10 @@ import type { Product } from '@/types/product'; interface ProductOverviewListProps { products: Product[]; - isSearchPage?: boolean; + hasBorder?: boolean; } -const ProductOverviewList = ({ products, isSearchPage = false }: ProductOverviewListProps) => { +const ProductOverviewList = ({ products, hasBorder = false }: ProductOverviewListProps) => { return (