index.tsx 551 B

1234567891011121314
  1. import { createRoot } from 'react-dom/client';
  2. import './index.css';
  3. import './i18n';
  4. import App from './App';
  5. import reportWebVitals from './reportWebVitals';
  6. const container = document.getElementById('root');
  7. const root = createRoot(container!); // createRoot(container!) if you use TypeScript
  8. root.render(<App />);
  9. // If you want to start measuring performance in your app, pass a function
  10. // to log results (for example: reportWebVitals(console.log))
  11. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  12. reportWebVitals();