Skip to content

Commit

Permalink
Merge pull request #161 from masters2023-project-06-second-hand/dev-fe
Browse files Browse the repository at this point in the history
FE sprint#6
  • Loading branch information
qkdflrgs authored Oct 6, 2023
2 parents 6f2a63f + 1a3090f commit d521ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fe/src/pages/ChatRoom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit d521ba2

Please sign in to comment.