Skip to content

Commit

Permalink
fix: build시 에러나는 부분 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dmswn1004 committed May 23, 2024
1 parent 6225a3d commit 7875cd5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/ItemDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,14 @@ const ItemDetail: React.FC = () => {
{userId === String(data?.userId) ? (
<S.ChatButton onClick={goToEdit}>수정하기</S.ChatButton>
) : (
<S.ChatButton onClick={()=>{handleChat()}>채팅하기</S.ChatButton>
<S.ChatButton
onClick={() => {
handleChat();
}}
>
채팅하기
</S.ChatButton>
)}

</S.Buttons>
</S.Maincontainer>

Expand Down
1 change: 1 addition & 0 deletions src/stories/ProductForm/ProductForm.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const ITEM: Product = {
productState: 'SALE',
likes: 1,
views: 2,
chatRooms: 3,
};

export const Basic: Story = {
Expand Down

0 comments on commit 7875cd5

Please sign in to comment.