mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 19:23:31 +00:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user