import PropertyTable from "../components/PropertyTable";

export const revalidate = 60;

export default async function Page(props: {
  params: Promise<{ slug: string }>;
  searchParams: Promise<{
    [key: string]: string | string[] | undefined | number;
  }>;
}) {
  const params = await props.params;
  const portfolioId = params.slug;

  return (
    <>
      <PropertyTable portfolioId={portfolioId} />
    </>
  );
}
