Remove not needed code

This commit is contained in:
Raven Scott 2024-06-11 03:31:20 -04:00
parent a92b22ef17
commit cd4b333954

View File

@ -111,15 +111,6 @@
console.error('Element #chat-room-topic not found'); console.error('Element #chat-room-topic not found');
} }
if (chatRoomName) {
chatRoomName.innerText = roomName;
} else {
console.error('Element #chat-room-name not found');
}
clearMessages();
renderMessagesForRoom(topic);
// Show chat UI elements // Show chat UI elements
document.querySelector('#chat').classList.remove('hidden'); document.querySelector('#chat').classList.remove('hidden');
document.querySelector('#setup').classList.add('hidden'); document.querySelector('#setup').classList.add('hidden');