fix auth.ts

This commit is contained in:
AleksDw
2025-05-31 13:57:58 +02:00
parent 42e468f28f
commit 5da58ee030
3 changed files with 6 additions and 12 deletions

View File

@@ -49,9 +49,6 @@ function setupAuthUI(): void {
logoutBtn.addEventListener('click', logoutUser);
}
// Hide all auth buttons initially until DOM loads
const hiddenBeforeLoad = document.querySelectorAll('.hidden-before-load');
hiddenBeforeLoad.forEach(el => el.classList.remove('hidden-before-load'));
}
// Initialize on load