fix: remove development bypass that prevented version info from loading

The App.tsx had leftover debug code that would skip auth entirely and
return early, preventing the version info from ever being fetched.
This caused 'Version: loading...' to appear permanently in the footer.
This commit is contained in:
Pulse Monitor
2025-09-10 16:51:28 +00:00
parent 66908dee61
commit 73ca9f7d2e
-9
View File
@@ -152,15 +152,6 @@ function App() {
console.log('[App] onMount triggered, starting auth check...');
console.log('[App] Current location:', window.location.href);
// For development, just skip auth entirely
console.log('[App] Development mode - skipping auth');
setIsLoading(false);
setNeedsAuth(false);
if (!wsStore()) {
setWsStore(getGlobalWebSocketStore());
}
return;
// Add a timeout fallback - if auth check takes too long, just proceed
const timeoutId = setTimeout(() => {
console.error('[App] Auth check timeout - proceeding without auth');