Files
hms-mediaengine/apps/web/src/main.tsx
T

17 lines
389 B
TypeScript
Raw Normal View History

import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App';
import './styles/tokens.css';
import './styles/app.css';
const container = document.getElementById('root');
if (container === null) {
throw new Error('#root nicht gefunden index.html prüfen');
}
createRoot(container).render(
<StrictMode>
<App />
</StrictMode>,
);