mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 14:45:54 -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 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>
|
||||
|
Loading…
Reference in New Issue
Block a user