diff options
Diffstat (limited to 'makima/frontend/src/main.tsx')
| -rw-r--r-- | makima/frontend/src/main.tsx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/makima/frontend/src/main.tsx b/makima/frontend/src/main.tsx index 4f7c525..bbb72f3 100644 --- a/makima/frontend/src/main.tsx +++ b/makima/frontend/src/main.tsx @@ -7,6 +7,7 @@ import { SupervisorQuestionsProvider } from "./contexts/SupervisorQuestionsConte import { GridOverlay } from "./components/GridOverlay"; import { SupervisorQuestionNotification } from "./components/SupervisorQuestionNotification"; import { PhaseConfirmationNotification } from "./components/PhaseConfirmationNotification"; +import { QuickSwitcher } from "./components/QuickSwitcher"; import { ProtectedRoute } from "./components/ProtectedRoute"; import HomePage from "./routes/_index"; import ListenPage from "./routes/listen"; @@ -21,6 +22,8 @@ import SettingsPage from "./routes/settings"; import ContractFilePage from "./routes/contract-file"; import SpeakPage from "./routes/speak"; import DirectivesPage from "./routes/directives"; +import ExecRedirect from "./routes/exec-redirect"; +import TmpTaskPage from "./routes/tmp"; createRoot(document.getElementById("root")!).render( <StrictMode> @@ -30,6 +33,7 @@ createRoot(document.getElementById("root")!).render( <GridOverlay /> <SupervisorQuestionNotification /> <PhaseConfirmationNotification /> + <QuickSwitcher /> <Routes> <Route path="/" element={<HomePage />} /> <Route path="/login" element={<LoginPage />} /> @@ -109,7 +113,15 @@ createRoot(document.getElementById("root")!).render( path="/exec/:id" element={ <ProtectedRoute> - <MeshPage /> + <ExecRedirect /> + </ProtectedRoute> + } + /> + <Route + path="/tmp/:taskId" + element={ + <ProtectedRoute> + <TmpTaskPage /> </ProtectedRoute> } /> |
