Files
dps-webshop/01-frontend/src/main.tsx
2026-03-11 12:30:20 +01:00

16 lines
381 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>,
);