diff --git a/src/pages/Product/ProductDetailPage/ProductDetailPage.tsx b/src/pages/Product/ProductDetailPage/ProductDetailPage.tsx index 47c7d01..cfdcf75 100644 --- a/src/pages/Product/ProductDetailPage/ProductDetailPage.tsx +++ b/src/pages/Product/ProductDetailPage/ProductDetailPage.tsx @@ -26,6 +26,7 @@ export interface ProductProps { materialInfo: string; buyerNotice: string; options: Option[]; + imgs: Image[]; } interface Option { @@ -34,6 +35,11 @@ interface Option { optionPrice: number; } +interface Image { + imgId: number; + productImgUrl: string; +} + const ProductImgData = { reviewImg1: '', reviewImg2: '', @@ -63,6 +69,7 @@ const productDummyData: ProductProps[] = [ { optionId: 2, optionName: 'M 사이즈', optionPrice: 2000 }, { optionId: 3, optionName: 'S 사이즈', optionPrice: 1000 }, ], + imgs: [{ imgId: 0, productImgUrl: '' }], }, ]; @@ -111,11 +118,11 @@ const ProductDetailPage = () => { {productInfo ? ( <>