import { RecordView } from '@/features/objects/record/ui/RecordView';

export const metadata = {
  title: 'Lead',
};

/** Alias of /objects/lead/<id> (HUB-265). */
export default async function LeadRecordPage({ params }: { params: Promise<{ id: string }> }) {
  const { id } = await params;
  return <RecordView objectKey="lead" recordId={id} />;
}
