import React from 'react'; import ReactDOM from 'react-dom/client'; import App from './App'; import ErrorBoundary from './components/ErrorBoundary'; import { initializeMobileDebugTools } from './utils/mobileUtils'; import './index.css'; // Initialize dev-only tools initializeMobileDebugTools(); // Import UUID library for generating unique IDs import 'uuid'; const rootElement = document.getElementById('root'); if (!rootElement) { console.error('[FocusFlow] ERROR: Could not find root element to mount to'); throw new Error("Could not find root element to mount to"); } console.log('[FocusFlow] Bootstrapping application...'); console.log('[FocusFlow] Root element found:', rootElement); const root = ReactDOM.createRoot(rootElement); console.log('[FocusFlow] React root created, rendering app...'); root.render( ); console.log('[FocusFlow] App render called successfully');