movie-web/src3/index.tsx
2022-03-13 19:08:28 +01:00

18 lines
415 B
TypeScript

import React from "react";
import ReactDOM from "react-dom";
import { HashRouter } from "react-router-dom";
import "./index.css";
import { ErrorBoundary } from "components/layout/ErrorBoundary";
import App from "./App";
ReactDOM.render(
<React.StrictMode>
<ErrorBoundary>
<HashRouter>
<App />
</HashRouter>
</ErrorBoundary>
</React.StrictMode>,
document.getElementById("root")
);