Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
import { notFound } from 'next/navigation'
import {
WORKFLOW_RECIPE_DETAIL_TABS,
type WorkflowRecipeDetailTab,
} from '@constants/workflowRecipeDetails'
import WorkflowRecipeDetailPage from '../page'
interface WorkflowRecipeTabPageProps {
params: Promise<{ tab: string }>
}
export default async function WorkflowRecipeTabPage({ params }: WorkflowRecipeTabPageProps) {
const { tab } = await params
if (!WORKFLOW_RECIPE_DETAIL_TABS.includes(tab as WorkflowRecipeDetailTab)) {
notFound()
}
return <WorkflowRecipeDetailPage />
}