This commit is contained in:
slawk0
2024-12-21 19:16:17 +01:00
parent 49a0cbad61
commit 0b06201ade

View File

@@ -135,7 +135,6 @@ const MessageForm = ({ contact }: MessageFormProps) => {
}
}
for (let i = 0; i < 100; i++) {
// Emit message to server
socket.emit(
'chat message',
@@ -163,7 +162,6 @@ const MessageForm = ({ contact }: MessageFormProps) => {
attachment_urls: attachmentUrls,
recipient_id: contact.user_id,
});
}
};
const handleKeyPress: KeyboardEventHandler<HTMLTextAreaElement> = (e) => {