import React from 'react'; import { createRoot } from 'react-dom/client'; import App from './App'; import ErrorBoundary from './components/common/ErrorBoundary'; import './index.css'; const container = document.getElementById('root'); if (container) { const root = createRoot(container); root.render( ); } else { console.error("FATAL: Elemento root não encontrado no HTML."); }