import OrganizationDetailPage from "../../../../settings/organizations/[id]/page";

type ScopedOrganizationDetailPageProps = {
  params: Promise<{
    organizationSlug: string;
    id: string;
  }>;
};

export default async function ScopedOrganizationDetailPage({
  params,
}: ScopedOrganizationDetailPageProps): Promise<React.ReactElement> {
  const { id } = await params;
  return OrganizationDetailPage({ params: Promise.resolve({ id }) });
}
