import type { Metadata } from 'next'
import { ObserverProjectDetail } from '@/components/observer/observer-project-detail'

export const metadata: Metadata = { title: 'Project Detail' }
export const dynamic = 'force-dynamic'

export default async function ObserverProjectDetailPage({
  params,
}: {
  params: Promise<{ projectId: string }>
}) {
  const { projectId } = await params

  return <ObserverProjectDetail projectId={projectId} />
}
