Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript
384 B
Raw Blame
import { notFound } from 'next/navigation'
import TeamDetailsPage from '../page'

interface TeamTabPageProps {
  params: Promise<{ tab: string }>
}

const TEAM_DETAIL_TABS = ['members', 'agents']

export default async function TeamTabPage({ params }: TeamTabPageProps) {
  const { tab } = await params
  if (!TEAM_DETAIL_TABS.includes(tab)) notFound()

  return <TeamDetailsPage />
}