Skip to content

Commit

Permalink
fix : 대괄호 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yura committed May 23, 2024
1 parent fe7de84 commit 70071a5
Showing 1 changed file with 7 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

0 comments on commit 70071a5

Please sign in to comment.