CHANGE router type

Signed-off-by: Damian Krysta <damian@krysta.dev>
This commit is contained in:
Damian Krysta 2022-02-02 21:20:36 +01:00 committed by Scott Lamb
parent 3240c20eae
commit 28208b7bb4

View File

@ -14,7 +14,7 @@ import ErrorBoundary from "./ErrorBoundary";
import { SnackbarProvider } from "./snackbars";
import AdapterDateFns from "@mui/lab/AdapterDateFns";
import "./index.css";
import { BrowserRouter } from "react-router-dom";
import {HashRouter} from "react-router-dom";
const theme = createTheme({
palette: {
@ -35,9 +35,9 @@ ReactDOM.render(
<ErrorBoundary>
<LocalizationProvider dateAdapter={AdapterDateFns}>
<SnackbarProvider autoHideDuration={5000}>
<BrowserRouter >
<HashRouter >
<App />
</BrowserRouter>
</HashRouter>
</SnackbarProvider>
</LocalizationProvider>
</ErrorBoundary>