re-uploading work

This commit is contained in:
2026-02-04 17:46:30 -06:00
commit 3b14c65998
1388 changed files with 381262 additions and 0 deletions

15
web/src/main.tsx Normal file
View File

@@ -0,0 +1,15 @@
// import { StrictMode } from "react"; // Disabled - see comment below
import { createRoot } from "react-dom/client";
import "./index.css";
import "./lib/api-config";
import { initializeApiWrapper } from "./lib/api-wrapper";
import App from "./App.tsx";
// Initialize API wrapper for token refresh
initializeApiWrapper();
// StrictMode disabled to prevent duplicate WebSocket connections in development
// React 18's StrictMode intentionally double-mounts components to detect side effects,
// which causes two WebSocket connections to be briefly created. This is expected behavior
// in development but can be confusing. Re-enable for production if needed.
createRoot(document.getElementById("root")!).render(<App />);