2022-12-17 09:54:27 +01:00
|
|
|
import React, { Suspense } from "react";
|
2022-02-16 21:30:12 +01:00
|
|
|
import ReactDOM from "react-dom";
|
|
|
|
import { HashRouter } from "react-router-dom";
|
|
|
|
import "./index.css";
|
2022-12-13 23:50:13 +01:00
|
|
|
import { ErrorBoundary } from "@/components/layout/ErrorBoundary";
|
2022-03-06 13:43:32 +01:00
|
|
|
import App from "./App";
|
2022-12-17 09:02:57 +01:00
|
|
|
import './i18n';
|
2021-07-14 00:31:37 +02:00
|
|
|
|
|
|
|
ReactDOM.render(
|
2022-02-16 21:30:12 +01:00
|
|
|
<React.StrictMode>
|
|
|
|
<ErrorBoundary>
|
|
|
|
<HashRouter>
|
2022-12-17 09:54:27 +01:00
|
|
|
<Suspense fallback="">
|
|
|
|
<App />
|
|
|
|
</Suspense>
|
2022-02-16 21:30:12 +01:00
|
|
|
</HashRouter>
|
|
|
|
</ErrorBoundary>
|
|
|
|
</React.StrictMode>,
|
|
|
|
document.getElementById("root")
|
2021-07-14 00:31:37 +02:00
|
|
|
);
|