Use only new report reason types

This commit is contained in:
Eric Bailey
2025-10-03 16:08:12 -05:00
parent 47aede964f
commit 75df80885a
@@ -1,4 +1,3 @@
import * as RootReportDefs from '@atproto/api/dist/client/types/com/atproto/moderation/defs'
import * as OzoneReportDefs from '@atproto/api/dist/client/types/tools/ozone/report/defs'
import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
@@ -24,7 +23,7 @@ export type ReportCategoryConfig = {
export type ReportOption = {
title: string
reason: RootReportDefs.ReasonType
reason: OzoneReportDefs.ReasonType
}
export function useReportOptions() {
@@ -277,7 +276,7 @@ export function useReportOptions() {
options: [
{
title: _(msg`Other`),
reason: RootReportDefs.REASONOTHER,
reason: OzoneReportDefs.REASONRULEOTHER,
},
],
isOther: true,