import { TenancyDetail } from '@/components/tenancies/tenancy-detail';

interface PageProps {
  params: Promise<{ portSlug: string; id: string }>;
}

export default async function TenancyDetailPage({ params }: PageProps) {
  const { portSlug, id } = await params;
  return <TenancyDetail tenancyId={id} portSlug={portSlug} />;
}
