component page graphs now render

This commit is contained in:
Carter 2025-02-24 11:46:16 -06:00
parent e5bc90e00e
commit c62bfbf916
10 changed files with 908 additions and 38 deletions

View file

@ -13,6 +13,7 @@ import DevicePage from "pages/Device";
import GroupsPage from "pages/Groups";
import GroupPage from "pages/Group";
import { ErrorBoundary } from "react-error-boundary";
import DeviceComponent from "pages/DeviceComponent";
const DeviceHistory = lazy(() => import("pages/DeviceHistory"));
@ -72,6 +73,10 @@ export default function Router(props: Props) {
path="/:deviceID" // "/settings/basic"
element={<DevicePage />}
/>
<Route
path="/:deviceID/components/:componentID" // "/settings/basic"
element={<DeviceComponent />}
/>
<Route
path="/:deviceID/history" // "/settings/basic"
element={<DeviceHistory />}