summaryrefslogtreecommitdiff
path: root/makima/frontend/src/main.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'makima/frontend/src/main.tsx')
-rw-r--r--makima/frontend/src/main.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/makima/frontend/src/main.tsx b/makima/frontend/src/main.tsx
index a7ba1a3..5a1b98e 100644
--- a/makima/frontend/src/main.tsx
+++ b/makima/frontend/src/main.tsx
@@ -13,6 +13,7 @@ import ListenPage from "./routes/listen";
import FilesPage from "./routes/files";
import ContractsPage from "./routes/contracts";
import ChainsPage from "./routes/chains";
+import DirectivesPage from "./routes/directives";
import WorkflowPage from "./routes/workflow";
import MeshPage from "./routes/mesh";
import HistoryPage from "./routes/history";
@@ -89,6 +90,22 @@ createRoot(document.getElementById("root")!).render(
}
/>
<Route
+ path="/directives"
+ element={
+ <ProtectedRoute>
+ <DirectivesPage />
+ </ProtectedRoute>
+ }
+ />
+ <Route
+ path="/directives/:id"
+ element={
+ <ProtectedRoute>
+ <DirectivesPage />
+ </ProtectedRoute>
+ }
+ />
+ <Route
path="/contracts/:id/files/:fileId"
element={
<ProtectedRoute>