import ApprovedApplicationsList from "@/components/admin/ApprovedApplicationsList";

const DECIDED_LIFECYCLE = "decided" as const;

/**
 * **Kết quả đăng ký**: submitted applications whose list `status` is approved or rejected
 * (`lifecycle=decided` on `GET /api/applications`). Kept separate from the inbox on `/dashboard`.
 */
export function DecidedApplicationsPanel() {
  return (
    <ApprovedApplicationsList
      lifecycle={DECIDED_LIFECYCLE}
      showReviewActionButtons={false}
      viewSubmittedReturnPath="/dashboard/result"
    />
  );
}
