wah wah wah

This commit is contained in:
lda committed 2026-04-12 18:15:23 +07:00
1 parent 5efcdf75ea
commit c8a986148d
5 files changed
+506 -44

No files matched your search

+12
View File
@@ -17,6 +17,7 @@ import { AlertsPage } from "@/pages/AlertsPage";
import { AuditPage } from "@/pages/AuditPage";
import { CommandsPage } from "@/pages/CommandsPage";
import { DashboardPage } from "@/pages/DashboardPage";
import { DevicesPage } from "@/pages/DevicesPage";
import { TokensPage } from "@/pages/TokensPage";
type LoadState = "idle" | "loading" | "ready" | "error";
@@ -99,6 +100,17 @@ export function App() {
<Route path="/" element={<AppLayout />}>
<Route
index
element={
<DevicesPage
agents={agents}
selectedAgentId={selectedAgentId}
onSelectAgent={setSelectedAgentId}
onAfterWake={loadAll}
/>
}
/>
<Route
path="dashboard"
element={
<DashboardPage
agents={agents}