2022-12-02 16:34:43 +03:00
|
|
|
import { CssVarsProvider } from "@mui/joy";
|
2022-04-01 09:38:30 +03:00
|
|
|
import { createRoot } from "react-dom/client";
|
2022-05-21 07:21:06 +03:00
|
|
|
import { Provider } from "react-redux";
|
|
|
|
import store from "./store";
|
2021-12-08 18:43:52 +03:00
|
|
|
import App from "./App";
|
2023-01-25 19:35:50 +03:00
|
|
|
import theme from "./theme";
|
2022-07-07 17:02:40 +03:00
|
|
|
import "./helpers/polyfill";
|
2023-01-25 19:35:50 +03:00
|
|
|
import "./i18n";
|
2023-04-01 11:03:14 +03:00
|
|
|
import "./less/code-highlight.less";
|
|
|
|
import "./css/global.css";
|
|
|
|
import "./css/tailwind.css";
|
|
|
|
|
2022-04-01 09:38:30 +03:00
|
|
|
const container = document.getElementById("root");
|
|
|
|
const root = createRoot(container as HTMLElement);
|
|
|
|
root.render(
|
2022-09-19 17:27:50 +03:00
|
|
|
<Provider store={store}>
|
2022-11-30 15:34:16 +03:00
|
|
|
<CssVarsProvider theme={theme}>
|
|
|
|
<App />
|
|
|
|
</CssVarsProvider>
|
2022-09-19 17:27:50 +03:00
|
|
|
</Provider>
|
2021-12-08 18:43:52 +03:00
|
|
|
);
|