Skip to content

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

TypeScript
435 B
Raw Blame
import { notFound } from 'next/navigation'
import UserDetailsPage from '../page'

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

const USER_DETAIL_TABS = ['contact', 'approval-dms', 'communication-channels', 'agents', 'teams']

export default async function UserTabPage({ params }: UserTabPageProps) {
  const { tab } = await params
  if (!USER_DETAIL_TABS.includes(tab)) notFound()

  return <UserDetailsPage />
}