import { StrictMode } from 'react'; import { createRoot } from 'react-dom/client'; import './index.css'; import App from './App'; import { ErrorBoundary } from './components/ErrorBoundary'; const rootElement = document.getElementById('root'); if (!rootElement) { throw new Error('Failed to find
in index.html'); } createRoot(rootElement).render( );