Fix everything

This commit is contained in:
2025-08-18 19:44:33 +03:00
Unverified
parent 06d183d6e4
commit a5a501e364
6 changed files with 38 additions and 28 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ document.getElementById('login-form-element')!.addEventListener('submit', async
const data: LoginResponse = await response.json();
// Store the JWT token
authToken = data.token;
currentUser = { username: data.username };
currentUser = data.user;
showChat();
loadMessages(); // Start loading messages
} else {