import { ResidentialClientDetail } from '@/components/residential/residential-client-detail';
import { TrackEntityView } from '@/components/search/track-entity-view';

interface Props {
  params: Promise<{ id: string }>;
}

export default async function ResidentialClientDetailPage({ params }: Props) {
  const { id } = await params;
  return (
    <>
      <TrackEntityView type="residential-client" id={id} />
      <ResidentialClientDetail clientId={id} />
    </>
  );
}
