Private
Public Access
1
0

refacto: Removing the admin debugger

This commit is contained in:
gauvainboiche
2026-03-31 11:06:40 +02:00
parent 8fabeb13b1
commit 655928318e
6 changed files with 1 additions and 282 deletions

View File

@@ -1,5 +1,5 @@
import { apiLogin, apiRegister, apiGetMe } from "./api.js";
import { setCurrentTeam, updateTeamSegmented, refreshFromServer } from "./game.js";
import { setCurrentTeam, refreshFromServer } from "./game.js";
// ── DOM refs ──────────────────────────────────────────────────────────────────
@@ -40,7 +40,6 @@ export function applyUser(user, token) {
setCurrentTeam(user.team);
userDisplayEl.textContent = `${user.username} [${user.team}]`;
logoutBtn.classList.remove("hidden");
updateTeamSegmented();
}
function logout() {