import { notFound } from 'next/navigation'; import { ClusterForm } from '@/components/clusters/cluster-form'; import { getClusterById } from '@/lib/actions/clusters'; interface EditClusterPageProps { params: Promise<{ id: string; }>; } export default async function EditClusterPage({ params }: EditClusterPageProps) { const { id } = await params; const cluster = await getClusterById(parseInt(id)); if (!cluster) { notFound(); } return (

Edit Cluster

Update cluster information

); }