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

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

export default async function ResidentialInterestDetailPage({ params }: Props) {
  const { id } = await params;
  return (
    <>
      <TrackEntityView type="residential-interest" id={id} />
      <ResidentialInterestDetail interestId={id} />
    </>
  );
}
