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.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/makima/frontend/src/main.tsx b/makima/frontend/src/main.tsx
index 19f02d1..9a6e65e 100644
--- a/makima/frontend/src/main.tsx
+++ b/makima/frontend/src/main.tsx
@@ -17,6 +17,7 @@ import MeshPage from "./routes/mesh";
import HistoryPage from "./routes/history";
import LoginPage from "./routes/login";
import SettingsPage from "./routes/settings";
+import ContractFilePage from "./routes/contract-file";
createRoot(document.getElementById("root")!).render(
<StrictMode>
@@ -70,6 +71,14 @@ createRoot(document.getElementById("root")!).render(
}
/>
<Route
+ path="/contracts/:id/files/:fileId"
+ element={
+ <ProtectedRoute>
+ <ContractFilePage />
+ </ProtectedRoute>
+ }
+ />
+ <Route
path="/workflow"
element={
<ProtectedRoute>