movie-web/src/index.tsx

18 lines
415 B
TypeScript
Raw Normal View History

2022-02-16 21:30:12 +01:00
import React from "react";
import ReactDOM from "react-dom";
import { HashRouter } from "react-router-dom";
import "./index.css";
import App from "./App";
import { ErrorBoundary } from "components/layout/ErrorBoundary";
2021-07-14 00:31:37 +02:00
ReactDOM.render(
2022-02-16 21:30:12 +01:00
<React.StrictMode>
<ErrorBoundary>
<HashRouter>
<App />
</HashRouter>
</ErrorBoundary>
</React.StrictMode>,
document.getElementById("root")
2021-07-14 00:31:37 +02:00
);