Clean code
Suppression des console log
This commit is contained in:
parent
744117cae8
commit
5a9965270c
1 changed files with 0 additions and 2 deletions
|
@ -16,9 +16,7 @@
|
||||||
let socket = initSocket(); // Initialiser le socket
|
let socket = initSocket(); // Initialiser le socket
|
||||||
|
|
||||||
socket.on("new-message", (message) => {
|
socket.on("new-message", (message) => {
|
||||||
console.log('Recu du nouveau message', message);
|
|
||||||
messages = [...messages , message ];
|
messages = [...messages , message ];
|
||||||
console.log(messages);
|
|
||||||
});
|
});
|
||||||
async function sendMessage() {
|
async function sendMessage() {
|
||||||
// Appel API pour envoyer le message
|
// Appel API pour envoyer le message
|
||||||
|
|
Loading…
Add table
Reference in a new issue