import { StrictMode } from 'react' import { createRoot } from 'react-dom/client' import '@/styles/index.css' import App from '@/app/App' const rootEl = document.getElementById('root') if (!rootEl) { throw new Error('Root element #root not found in the document') } createRoot(rootEl).render( , )