Change routing rules in workflow pages (#882)
This commit is contained in:
@@ -2,7 +2,7 @@ import { cn } from "@/util/utils";
|
||||
import { Outlet, useMatch } from "react-router-dom";
|
||||
|
||||
function WorkflowsPageLayout() {
|
||||
const match = useMatch("/workflows/:workflowPermanentId");
|
||||
const match = useMatch("/workflows/:workflowPermanentId/edit");
|
||||
|
||||
return (
|
||||
<main
|
||||
|
||||
Reference in New Issue
Block a user