From 91807d41e56fcbe3ccefc807ab94124ed6c43629 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 1 Aug 2025 05:58:50 -0400 Subject: [PATCH] fix punch in bug --- public/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index d3d8782..5fa68da 100644 --- a/public/index.html +++ b/public/index.html @@ -52,8 +52,7 @@ const mainViews = { auth: document.getElementById('auth-view'), employee: document.getElementById('employee-dashboard'), admin: document.getElementById('admin-dashboard'), archive: document.getElementById('admin-archive-view'), timeOffHistory: document.getElementById('admin-time-off-history-view') }; const navUserControls = document.getElementById('nav-user-controls'), welcomeMessage = document.getElementById('welcome-message'), signOutBtn = document.getElementById('sign-out-btn'); const messageBox = document.getElementById('message-box'), loadingSpinner = document.getElementById('loading-spinner'), modalContainer = document.getElementById('modal-container'); - let authToken = localStorage.getItem('authToken'), user = JSON.parse(localStorage.getItem('user')), allTimeEntries = [], allUsers = [], employeeTimerInterval = null; - + let authToken, user, allTimeEntries = [], allUsers = [], employeeTimerInterval = null; // --- Helper Functions --- const showLoading = (show) => loadingSpinner.innerHTML = show ? `
` : ''; const showMessage = (message, type = 'success') => { messageBox.innerHTML = ``; messageBox.classList.remove('hidden'); };