From 1e08c898cc193d9cb488e53a3aeac7fa021136f2 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 8 Oct 2025 21:16:04 -0500 Subject: [PATCH] Finish 'other' handling --- src/components/moderation/ReportDialog/const.ts | 2 ++ .../moderation/ReportDialog/utils/useReportOptions.ts | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/moderation/ReportDialog/const.ts b/src/components/moderation/ReportDialog/const.ts index d6eaec1f30..ab94c87f56 100644 --- a/src/components/moderation/ReportDialog/const.ts +++ b/src/components/moderation/ReportDialog/const.ts @@ -96,6 +96,8 @@ export const OTHER_REPORT_REASONS: Set = new Set([ OzoneReportDefs.REASONHARASSMENTOTHER, OzoneReportDefs.REASONMISLEADINGOTHER, OzoneReportDefs.REASONRULEOTHER, + OzoneReportDefs.REASONSELFHARMOTHER, + OzoneReportDefs.REASONOTHER, ]) /** diff --git a/src/components/moderation/ReportDialog/utils/useReportOptions.ts b/src/components/moderation/ReportDialog/utils/useReportOptions.ts index e0c68e08dd..6f59246475 100644 --- a/src/components/moderation/ReportDialog/utils/useReportOptions.ts +++ b/src/components/moderation/ReportDialog/utils/useReportOptions.ts @@ -18,7 +18,6 @@ export type ReportCategoryConfig = { title: string description: string options: ReportOption[] - isOther?: boolean } export type ReportOption = { @@ -246,7 +245,6 @@ export function useReportOptions() { reason: OzoneReportDefs.REASONOTHER, }, ], - isOther: true, }, }