2021-12-11 15:35:02 +03:00
|
|
|
/// <reference types="vite/client" />
|
2022-03-30 07:36:39 +03:00
|
|
|
/// <reference types="vite-plugin-svgr/client" />
|
2021-12-04 09:31:26 +03:00
|
|
|
import "./assets/styles/index.scss";
|
|
|
|
|
|
|
|
import React from "react";
|
|
|
|
import ReactDOM from "react-dom";
|
2021-12-09 18:28:57 +03:00
|
|
|
import { RecoilRoot } from "recoil";
|
2021-12-08 18:36:34 +03:00
|
|
|
import { BrowserRouter } from "react-router-dom";
|
|
|
|
import Layout from "./pages/_layout";
|
2022-03-06 12:02:29 +03:00
|
|
|
import enhance from "./services/enhance";
|
2022-03-12 18:07:45 +03:00
|
|
|
import "./services/i18n";
|
2022-03-02 20:58:05 +03:00
|
|
|
|
2022-03-06 12:02:29 +03:00
|
|
|
enhance.setup();
|
2021-12-04 09:31:26 +03:00
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
<React.StrictMode>
|
2021-12-09 18:28:57 +03:00
|
|
|
<RecoilRoot>
|
2021-12-08 18:36:34 +03:00
|
|
|
<BrowserRouter>
|
|
|
|
<Layout />
|
|
|
|
</BrowserRouter>
|
2021-12-09 18:28:57 +03:00
|
|
|
</RecoilRoot>
|
2021-12-04 09:31:26 +03:00
|
|
|
</React.StrictMode>,
|
|
|
|
document.getElementById("root")
|
|
|
|
);
|