From b33eb6fe43109861282394a354d7ae369888d9a1 Mon Sep 17 00:00:00 2001 From: Jae-HyeokKim Date: Mon, 25 Aug 2025 14:07:37 +0900 Subject: [PATCH] =?UTF-8?q?feat(chatroom):=20=EC=B1=84=ED=8C=85=EB=B0=A9?= =?UTF-8?q?=20=EB=A1=9C=EA=B7=B8=20=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?(#49)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Chatroom.jsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/pages/Chatroom.jsx b/src/pages/Chatroom.jsx index 0e5c1ba..45644d1 100644 --- a/src/pages/Chatroom.jsx +++ b/src/pages/Chatroom.jsx @@ -567,14 +567,12 @@ export default function Chatroom() { }; try { - stompClientRef.current.send( `/app/chat/${actualRoomId}/send`,{}, + stompClientRef.current.send( + '/app/chat/${actualRoomId}/send' + , {}, JSON.stringify(messageData) ); - // - // stompClientRef.current.publish({ - // destination: `/app/chat/${actualRoomId}/send`, - // body: JSON.stringify(messageData) - // }); + console.log('메세지 전송 완료 ',message.toString()) setMessage('');