remove v1 theme provider
This commit is contained in:
1 parent
fc6300d057
commit
8d104ee30a
4 files changed
+45
-267
No files matched your search
+4
-7
@@ -3,26 +3,23 @@ import { useSelector } from "react-redux";
|
|||||||
import "react-toastify/dist/ReactToastify.css";
|
import "react-toastify/dist/ReactToastify.css";
|
||||||
import { ToastContainer } from "react-toastify";
|
import { ToastContainer } from "react-toastify";
|
||||||
import { ThemeProvider } from "@emotion/react";
|
import { ThemeProvider } from "@emotion/react";
|
||||||
import lightTheme from "./Utils/Theme/lightTheme";
|
|
||||||
import darkTheme from "./Utils/Theme/darkTheme";
|
|
||||||
import { CssBaseline, GlobalStyles } from "@mui/material";
|
import { CssBaseline, GlobalStyles } from "@mui/material";
|
||||||
import { Routes } from "./Routes";
|
import { Routes } from "./Routes";
|
||||||
import AppLayout from "@/Components/v2/layout/AppLayout";
|
import AppLayout from "@/Components/v2/layout/AppLayout";
|
||||||
import type { RootState } from "@/Types/state";
|
import type { RootState } from "@/Types/state";
|
||||||
|
import { lightTheme, darkTheme } from "@/Utils/Theme/v2Theme";
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
const mode = useSelector((state: RootState) => state.ui.mode);
|
const mode = useSelector((state: RootState) => state.ui.mode);
|
||||||
|
const v2theme = mode === "light" ? lightTheme : darkTheme;
|
||||||
const theme = mode === "light" ? lightTheme : darkTheme;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider theme={theme}>
|
<ThemeProvider theme={v2theme}>
|
||||||
<CssBaseline />
|
<CssBaseline />
|
||||||
<GlobalStyles
|
<GlobalStyles
|
||||||
styles={{
|
styles={{
|
||||||
body: {
|
body: {
|
||||||
// @ts-ignore
|
backgroundColor: v2theme.palette.background.default,
|
||||||
backgroundColor: theme.palette.background.main,
|
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
import { useState, useEffect, useRef } from "react";
|
import { useState, useEffect, useRef } from "react";
|
||||||
import { ThemeProvider, useTheme } from "@mui/material/styles";
|
import { useTheme } from "@mui/material/styles";
|
||||||
import { useSelector } from "react-redux";
|
import { useSelector } from "react-redux";
|
||||||
import BackgroundSVG from "@/assets/Images/background.svg";
|
import BackgroundSVG from "@/assets/Images/background.svg";
|
||||||
import type { RootState } from "@/Types/state";
|
import type { RootState } from "@/Types/state";
|
||||||
import { lightTheme, darkTheme } from "@/Utils/Theme/v2Theme";
|
|
||||||
import { OfflineBanner } from "@/Components/v2/design-elements";
|
import { OfflineBanner } from "@/Components/v2/design-elements";
|
||||||
import { setServerUnreachableCallback, get } from "@/Utils/ApiClient";
|
import { setServerUnreachableCallback, get } from "@/Utils/ApiClient";
|
||||||
|
|
||||||
@@ -15,8 +14,6 @@ interface AppLayoutProps {
|
|||||||
const AppLayout = ({ children }: AppLayoutProps) => {
|
const AppLayout = ({ children }: AppLayoutProps) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const mode = useSelector((state: RootState) => state.ui.mode);
|
const mode = useSelector((state: RootState) => state.ui.mode);
|
||||||
const v2theme = mode === "dark" ? darkTheme : lightTheme;
|
|
||||||
|
|
||||||
const [serverUnreachable, setServerUnreachable] = useState(false);
|
const [serverUnreachable, setServerUnreachable] = useState(false);
|
||||||
const retryIntervalRef = useRef<number | null>(null);
|
const retryIntervalRef = useRef<number | null>(null);
|
||||||
|
|
||||||
@@ -49,8 +46,7 @@ const AppLayout = ({ children }: AppLayoutProps) => {
|
|||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
minHeight: "100vh",
|
minHeight: "100vh",
|
||||||
// @ts-expect-error custom palette property
|
backgroundColor: theme.palette.background.default,
|
||||||
backgroundColor: theme.palette.primaryBackground.main,
|
|
||||||
backgroundImage: mode === "dark" ? `url("${BackgroundSVG}")` : "none",
|
backgroundImage: mode === "dark" ? `url("${BackgroundSVG}")` : "none",
|
||||||
backgroundSize: "100% 100%",
|
backgroundSize: "100% 100%",
|
||||||
backgroundPosition: "center",
|
backgroundPosition: "center",
|
||||||
@@ -58,9 +54,7 @@ const AppLayout = ({ children }: AppLayoutProps) => {
|
|||||||
color: theme.palette.primary.contrastText,
|
color: theme.palette.primary.contrastText,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ThemeProvider theme={v2theme}>
|
<OfflineBanner visible={serverUnreachable} />
|
||||||
<OfflineBanner visible={serverUnreachable} />
|
|
||||||
</ThemeProvider>
|
|
||||||
{children}
|
{children}
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -4,23 +4,16 @@ import Stack from "@mui/material/Stack";
|
|||||||
import { useMediaQuery } from "@mui/material";
|
import { useMediaQuery } from "@mui/material";
|
||||||
import { useSidebar } from "@/Hooks/useSidebar";
|
import { useSidebar } from "@/Hooks/useSidebar";
|
||||||
|
|
||||||
import { useSelector } from "react-redux";
|
import { useTheme } from "@mui/material";
|
||||||
import type { RootState } from "@/Types/state";
|
|
||||||
import { lightTheme, darkTheme } from "@/Utils/Theme/v2Theme";
|
|
||||||
import { ThemeProvider, useTheme } from "@mui/material";
|
|
||||||
|
|
||||||
const RootLayout = () => {
|
const RootLayout = () => {
|
||||||
const mode = useSelector((state: RootState) => state.ui.mode);
|
|
||||||
const v2theme = mode === "dark" ? darkTheme : lightTheme;
|
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const isSmall = useMediaQuery(theme.breakpoints.down("md"));
|
const isSmall = useMediaQuery(theme.breakpoints.down("md"));
|
||||||
const { collapsedWidth } = useSidebar();
|
const { collapsedWidth } = useSidebar();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack flexDirection="row">
|
<Stack flexDirection="row">
|
||||||
<ThemeProvider theme={v2theme}>
|
<Sidebar />
|
||||||
<Sidebar />
|
|
||||||
</ThemeProvider>
|
|
||||||
<Stack
|
<Stack
|
||||||
flex={1}
|
flex={1}
|
||||||
padding={6}
|
padding={6}
|
||||||
|
|||||||
+36
-242
@@ -1,9 +1,3 @@
|
|||||||
// Temp v2 theme
|
|
||||||
import { ThemeProvider } from "@mui/material";
|
|
||||||
import { lightTheme, darkTheme } from "@/Utils/Theme/v2Theme";
|
|
||||||
|
|
||||||
import { useSelector } from "react-redux";
|
|
||||||
import type { RootState } from "@/store";
|
|
||||||
import { Navigate, Route, Routes as LibRoutes } from "react-router";
|
import { Navigate, Route, Routes as LibRoutes } from "react-router";
|
||||||
import RootLayout from "@/Components/v2/layout/RootLayout";
|
import RootLayout from "@/Components/v2/layout/RootLayout";
|
||||||
import NotFound from "@/Pages/NotFound";
|
import NotFound from "@/Pages/NotFound";
|
||||||
@@ -60,8 +54,6 @@ import {
|
|||||||
import CreateMonitor from "@/Pages/CreateMonitor";
|
import CreateMonitor from "@/Pages/CreateMonitor";
|
||||||
|
|
||||||
const Routes = () => {
|
const Routes = () => {
|
||||||
const mode = useSelector((state: RootState) => state.ui.mode);
|
|
||||||
const v2theme = mode === "light" ? lightTheme : darkTheme;
|
|
||||||
return (
|
return (
|
||||||
<LibRoutes>
|
<LibRoutes>
|
||||||
<Route
|
<Route
|
||||||
@@ -78,287 +70,129 @@ const Routes = () => {
|
|||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="/uptime"
|
path="/uptime"
|
||||||
element={
|
element={<Uptime />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Uptime />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route path="/uptime/bulk-import" />
|
<Route path="/uptime/bulk-import" />
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="/uptime/create"
|
path="/uptime/create"
|
||||||
element={
|
element={<CreateMonitor />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateMonitor />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="/uptime/:monitorId/"
|
path="/uptime/:monitorId/"
|
||||||
element={
|
element={<UptimeDetails />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<UptimeDetails />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="/uptime/configure/:monitorId/"
|
path="/uptime/configure/:monitorId/"
|
||||||
element={
|
element={<CreateMonitor />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateMonitor />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="pagespeed"
|
path="pagespeed"
|
||||||
element={
|
element={<PageSpeed />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<PageSpeed />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="pagespeed/create"
|
path="pagespeed/create"
|
||||||
element={
|
element={<CreateMonitor />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateMonitor />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="pagespeed/:monitorId"
|
path="pagespeed/:monitorId"
|
||||||
element={
|
element={<PageSpeedDetails />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<PageSpeedDetails />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="pagespeed/configure/:monitorId"
|
path="pagespeed/configure/:monitorId"
|
||||||
element={
|
element={<CreateMonitor />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateMonitor />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="infrastructure"
|
path="infrastructure"
|
||||||
element={
|
element={<Infrastructure />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Infrastructure />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="infrastructure/create"
|
path="infrastructure/create"
|
||||||
element={
|
element={<CreateMonitor />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateMonitor />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="/infrastructure/configure/:monitorId"
|
path="/infrastructure/configure/:monitorId"
|
||||||
element={
|
element={<CreateMonitor />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateMonitor />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="infrastructure/:monitorId"
|
path="infrastructure/:monitorId"
|
||||||
element={
|
element={<InfrastructureDetails />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<InfrastructureDetails />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="checks/:monitorId?"
|
path="checks/:monitorId?"
|
||||||
element={
|
element={<Checks />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Checks />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="incidents/:monitorId?"
|
path="incidents/:monitorId?"
|
||||||
element={
|
element={<Incidents />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Incidents />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="status"
|
path="status"
|
||||||
element={
|
element={<StatusPages />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<StatusPages />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="status/:url"
|
path="status/:url"
|
||||||
element={
|
element={<Status />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Status />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="status/create"
|
path="status/create"
|
||||||
element={
|
element={<CreateStatus />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateStatus />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="status/configure/:url"
|
path="status/configure/:url"
|
||||||
element={
|
element={<CreateStatus />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateStatus />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="notifications"
|
path="notifications"
|
||||||
element={
|
element={<Notifications />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Notifications />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="notifications/create"
|
path="notifications/create"
|
||||||
element={
|
element={<CreateNotifications />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateNotifications />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="notifications/configure/:notificationId"
|
path="notifications/configure/:notificationId"
|
||||||
element={
|
element={<CreateNotifications />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateNotifications />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="maintenance"
|
path="maintenance"
|
||||||
element={
|
element={<Maintenance />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Maintenance />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="/maintenance/create/:maintenanceWindowId?"
|
path="/maintenance/create/:maintenanceWindowId?"
|
||||||
element={
|
element={<CreateNewMaintenanceWindow />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<CreateNewMaintenanceWindow />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="settings"
|
path="settings"
|
||||||
element={
|
element={<Settings />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Settings />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="account/profile"
|
path="account/profile"
|
||||||
element={
|
element={<Account open={"profile"} />}
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Account open={"profile"} />
|
|
||||||
</ThemeProvider>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="account/password"
|
path="account/password"
|
||||||
element={
|
element={<Account open={"password"} />}
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Account open={"password"} />
|
|
||||||
</ThemeProvider>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="account/team"
|
path="account/team"
|
||||||
element={
|
element={<Account open={"team"} />}
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Account open={"team"} />
|
|
||||||
</ThemeProvider>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="account/team/:userId"
|
path="account/team/:userId"
|
||||||
element={
|
element={
|
||||||
<RoleProtectedRoute roles={["superadmin"]}>
|
<RoleProtectedRoute roles={["superadmin"]}>
|
||||||
<ThemeProvider theme={v2theme}>
|
<EditUser />
|
||||||
<EditUser />
|
|
||||||
</ThemeProvider>
|
|
||||||
</RoleProtectedRoute>
|
</RoleProtectedRoute>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
@@ -367,9 +201,7 @@ const Routes = () => {
|
|||||||
path="logs"
|
path="logs"
|
||||||
element={
|
element={
|
||||||
<RoleProtectedRoute roles={["admin", "superadmin"]}>
|
<RoleProtectedRoute roles={["admin", "superadmin"]}>
|
||||||
<ThemeProvider theme={v2theme}>
|
<Logs />
|
||||||
<Logs />
|
|
||||||
</ThemeProvider>
|
|
||||||
</RoleProtectedRoute>
|
</RoleProtectedRoute>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
@@ -379,75 +211,37 @@ const Routes = () => {
|
|||||||
path="/login"
|
path="/login"
|
||||||
element={
|
element={
|
||||||
<>
|
<>
|
||||||
<ThemeProvider theme={v2theme}>
|
<AuthLogin />
|
||||||
<AuthLogin />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="/register"
|
path="/register"
|
||||||
element={
|
element={<AuthRegister />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<AuthRegister />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="/register/:token"
|
path="/register/:token"
|
||||||
element={
|
element={<AuthRegister />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<AuthRegister />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="/forgot-password"
|
path="/forgot-password"
|
||||||
element={
|
element={<AuthForgotPassword />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<AuthForgotPassword />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="/set-new-password/:token"
|
path="/set-new-password/:token"
|
||||||
element={
|
element={<AuthSetNewPassword />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<AuthSetNewPassword />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="/status/public/:url"
|
path="/status/public/:url"
|
||||||
element={
|
element={<Status />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<Status />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="*"
|
path="*"
|
||||||
element={
|
element={<NotFound />}
|
||||||
<>
|
|
||||||
<ThemeProvider theme={v2theme}>
|
|
||||||
<NotFound />
|
|
||||||
</ThemeProvider>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
</LibRoutes>
|
</LibRoutes>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user