fix: add template editor to /templates/:templateName route group (#14206)

This commit is contained in:
Kayla Washburn-Love
2024-08-07 10:31:36 -06:00
committed by GitHub
parent b55a7a8b78
commit d0feb70811
+4
View File
@@ -472,6 +472,10 @@ export const router = createBrowserRouter(
{/* Pages that don't have the dashboard layout */}
<Route path="/:username/:workspace" element={<WorkspacePage />} />
<Route
path="/templates/:template/versions/:version/edit"
element={<TemplateVersionEditorPage />}
/>
<Route
path="/templates/:organization/:template/versions/:version/edit"
element={<TemplateVersionEditorPage />}