import { StrictMode } from 'react'; import { createRoot } from 'react-dom/client'; import App from './App'; import { ErrorBoundary } from './components/ErrorBoundary'; import './index.css'; try { let rootElement = document.getElementById('root'); if (!rootElement) { rootElement = document.createElement('div'); rootElement.id = 'root'; document.body.appendChild(rootElement); } createRoot(rootElement).render( ); } catch (error) { console.error('[GRWF App Mount Error]:', error); const root = document.getElementById('root'); if (root) { root.innerHTML = '

Global Remote Work Force (GRWF)

Loading application...

'; } }