diff --git a/src/routes/chats/[id]/+page.svelte b/src/routes/chats/[id]/+page.svelte index 2b7b5f9..6ac8003 100644 --- a/src/routes/chats/[id]/+page.svelte +++ b/src/routes/chats/[id]/+page.svelte @@ -16,9 +16,7 @@ let socket = initSocket(); // Initialiser le socket socket.on("new-message", (message) => { - console.log('Recu du nouveau message', message); messages = [...messages , message ]; - console.log(messages); }); async function sendMessage() { // Appel API pour envoyer le message