mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 22:55:55 -05:00
CHANGE router type
Signed-off-by: Damian Krysta <damian@krysta.dev>
This commit is contained in:
parent
3240c20eae
commit
28208b7bb4
@ -14,7 +14,7 @@ import ErrorBoundary from "./ErrorBoundary";
|
|||||||
import { SnackbarProvider } from "./snackbars";
|
import { SnackbarProvider } from "./snackbars";
|
||||||
import AdapterDateFns from "@mui/lab/AdapterDateFns";
|
import AdapterDateFns from "@mui/lab/AdapterDateFns";
|
||||||
import "./index.css";
|
import "./index.css";
|
||||||
import { BrowserRouter } from "react-router-dom";
|
import {HashRouter} from "react-router-dom";
|
||||||
|
|
||||||
const theme = createTheme({
|
const theme = createTheme({
|
||||||
palette: {
|
palette: {
|
||||||
@ -35,9 +35,9 @@ ReactDOM.render(
|
|||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<LocalizationProvider dateAdapter={AdapterDateFns}>
|
<LocalizationProvider dateAdapter={AdapterDateFns}>
|
||||||
<SnackbarProvider autoHideDuration={5000}>
|
<SnackbarProvider autoHideDuration={5000}>
|
||||||
<BrowserRouter >
|
<HashRouter >
|
||||||
<App />
|
<App />
|
||||||
</BrowserRouter>
|
</HashRouter>
|
||||||
</SnackbarProvider>
|
</SnackbarProvider>
|
||||||
</LocalizationProvider>
|
</LocalizationProvider>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
|
Loading…
Reference in New Issue
Block a user