import { createRoot } from "react-dom/client";
import App from "./App";
import "./index.css";
import "./scss/style.scss";
import { initI18n } from "./i18n";
const rootEl = document.getElementById("root");
if (!rootEl) {
throw new Error("Root element #root not found");
}
initI18n()
.then(() => {
createRoot(rootEl).render(
${err instanceof Error ? err.message : "Unknown error"}