diff --git a/app/(manage)/manage/reports/reports-client.tsx b/app/(manage)/manage/reports/reports-client.tsx index 409ed64..4850d93 100644 --- a/app/(manage)/manage/reports/reports-client.tsx +++ b/app/(manage)/manage/reports/reports-client.tsx @@ -11,6 +11,7 @@ import { ChevronRightIcon, FlagIcon, } from "lucide-react" +import { ConfirmDialog } from "@/components/ui/modal" interface Report { id: string @@ -443,34 +444,16 @@ export function ReportsClient() { {/* Confirmation Dialog */} {confirmReport && ( -
-
-

Confirm Review

-

- This will also remove the reported benchmark. Are you sure? -

-
- - -
-
-
+ setConfirmReport(null)} + onConfirm={() => handleUpdateStatus(confirmReport, "reviewed")} + title="Confirm Review" + message="This will also remove the reported benchmark. Are you sure?" + confirmLabel="Review" + variant="default" + loading={actionLoading[confirmReport.id]} + /> )} )