15 lines
382 B
TypeScript
15 lines
382 B
TypeScript
import './components/i18n/i18n';
|
|
import {StrictMode} from 'react';
|
|
import {createRoot} from 'react-dom/client';
|
|
import './index.css';
|
|
import App from './App.tsx';
|
|
|
|
const rootElement = document.getElementById('root');
|
|
if (!rootElement) throw new Error("Root element not found");
|
|
|
|
const root = createRoot(rootElement);
|
|
root.render(
|
|
<StrictMode>
|
|
<App/>
|
|
</StrictMode>
|
|
); |