mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-06 21:52:51 +08:00
16 lines
491 B
TypeScript
16 lines
491 B
TypeScript
import ReactDOM from "react-dom/client";
|
|
import "../node_modules/monaco-editor/min/vs/editor/editor.main.css";
|
|
import { I18nRoot } from "./i18n/I18nRoot";
|
|
import { initializeI18n } from "./i18n/store";
|
|
import { appStore } from "./store/appStore";
|
|
import { applyTheme } from "./theme/theme";
|
|
import "./styles/globals.scss";
|
|
|
|
initializeI18n();
|
|
applyTheme(appStore.getSnapshot().theme);
|
|
void appStore.refresh();
|
|
|
|
ReactDOM.createRoot(document.getElementById("root")!).render(
|
|
<I18nRoot />,
|
|
);
|