Files
Dorod-Sky/skyvern-frontend/src/routes/workflows/WorkflowsPageLayout.tsx
Shuchang Zheng 478b27ac52 Update skyvern UI responsiveness (#1098)
Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
2024-10-31 18:49:15 +03:00

19 lines
354 B
TypeScript

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