mine editor opens
This commit is contained in:
parent
5fcb99ef40
commit
d945092b77
16 changed files with 159 additions and 108 deletions
|
|
@ -6,6 +6,7 @@ import Header from "app/Header";
|
|||
import Logout from "pages/Logout";
|
||||
import { ErrorBoundary } from "react-error-boundary";
|
||||
import { getWhitelabel } from "services/whiteLabel";
|
||||
import Ventilation from "pages/VentEditor";
|
||||
|
||||
const DeviceHistory = lazy(() => import("pages/DeviceHistory"));
|
||||
const DevicePage = lazy(() => import("pages/Device"));
|
||||
|
|
@ -133,22 +134,14 @@ export default function Router(props: Props) {
|
|||
<Route
|
||||
key="Mines page route"
|
||||
path="" // "/settings/basic"
|
||||
element={<Mines key={"Bins page"} />}
|
||||
/>
|
||||
{/* <Route
|
||||
path="/:binID" // "/settings/basic"
|
||||
element={<Bin />}
|
||||
/> */}
|
||||
{/* <Route
|
||||
path="/:deviceID/components/:componentID" // "/settings/basic"
|
||||
element={<DeviceComponent />}
|
||||
element={<Mines key={"Mines page"} />}
|
||||
/>
|
||||
<Route
|
||||
path="/:deviceID/history" // "/settings/basic"
|
||||
element={<DeviceHistory />}
|
||||
/> */}
|
||||
path="/:mineKey" // "/settings/basic"
|
||||
element={<Ventilation />}
|
||||
/>
|
||||
<Route
|
||||
path="/:binID/*" // "/settings/basic"
|
||||
path="/:mineKey/*" // "/settings/basic"
|
||||
element={<RelativeRoutes />}
|
||||
/>
|
||||
</Routes>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue