I have a "Join" button:
const sendMessage = (e) => { if (message) { socket.emit(\'send\', message, ()=>{setMessage(\'\')})