import { OrgMembers } from "@/components/org-members"

export default async function OrgMembersPage({
  params,
  searchParams,
}: {
  params: Promise<{ id: string }>
  searchParams: Promise<{ name?: string }>
}) {
  const { id } = await params
  const { name } = await searchParams
  return <OrgMembers organizationId={id} orgName={name ?? "Organisasjon"} />
}
