From 5a9965270c0bfad098d3f7da7cc0e5960247bced Mon Sep 17 00:00:00 2001 From: StayFlex Date: Thu, 5 Dec 2024 20:44:12 +0100 Subject: [PATCH] Clean code Suppression des console log --- src/routes/chats/[id]/+page.svelte | 2 -- 1 file changed, 2 deletions(-) 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