From 7875cd5e10917bae061040f3f2cc95251826a17c Mon Sep 17 00:00:00 2001 From: EunJu JO Date: Fri, 24 May 2024 00:20:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20build=EC=8B=9C=20=EC=97=90=EB=9F=AC?= =?UTF-8?q?=EB=82=98=EB=8A=94=20=EB=B6=80=EB=B6=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ItemDetail/index.tsx | 9 +++++++-- src/stories/ProductForm/ProductForm.stories.tsx | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/ItemDetail/index.tsx b/src/pages/ItemDetail/index.tsx index 1451aa02..231039f3 100644 --- a/src/pages/ItemDetail/index.tsx +++ b/src/pages/ItemDetail/index.tsx @@ -210,9 +210,14 @@ const ItemDetail: React.FC = () => { {userId === String(data?.userId) ? ( 수정하기 ) : ( - {handleChat()}>채팅하기 + { + handleChat(); + }} + > + 채팅하기 + )} - diff --git a/src/stories/ProductForm/ProductForm.stories.tsx b/src/stories/ProductForm/ProductForm.stories.tsx index b4690c0f..ffb598f9 100644 --- a/src/stories/ProductForm/ProductForm.stories.tsx +++ b/src/stories/ProductForm/ProductForm.stories.tsx @@ -26,6 +26,7 @@ const ITEM: Product = { productState: 'SALE', likes: 1, views: 2, + chatRooms: 3, }; export const Basic: Story = {