From 1a3090f429138cbbfb5009359b45579114011573 Mon Sep 17 00:00:00 2001 From: litae <109706689+qkdflrgs@users.noreply.github.com> Date: Fri, 6 Oct 2023 13:47:59 +0900 Subject: [PATCH] =?UTF-8?q?fix/#135:=20message=20=ED=83=80=EC=9E=85=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20(#136)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/src/pages/ChatRoom.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/src/pages/ChatRoom.tsx b/fe/src/pages/ChatRoom.tsx index 672735a18..6db476a2f 100644 --- a/fe/src/pages/ChatRoom.tsx +++ b/fe/src/pages/ChatRoom.tsx @@ -72,7 +72,7 @@ export const ChatRoom = () => { client.deactivate(); }; - const callback = (message) => { + const callback = (message: StompJs.Message) => { if (message.body) { const newMessage = JSON.parse(message.body); setChatList((chats) => [...chats, newMessage.messages]);