Workflow editor (#735)

Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
Kerem Yilmaz
2024-08-26 21:31:42 +03:00
committed by GitHub
parent d21b6e6adc
commit 3502093200
48 changed files with 2803 additions and 193 deletions

View File

@@ -1,8 +1,15 @@
import { Outlet } from "react-router-dom";
import { cn } from "@/util/utils";
import { Outlet, useMatch } from "react-router-dom";
function WorkflowsPageLayout() {
const match = useMatch("/workflows/:workflowPermanentId");
return (
<main className="container mx-auto px-8">
<main
className={cn({
"container mx-auto px-8": !match,
})}
>
<Outlet />
</main>
);