cleanup open/closed logic

This commit is contained in:
Hailey
2025-09-24 21:47:19 -07:00
committed by Eric Bailey
parent 5971aaf749
commit 020feec15b
3 changed files with 26 additions and 16 deletions
@@ -37,6 +37,17 @@ export interface ReportOption {
reason: ReasonType
}
export const OtherReportReasons = new Set<ReasonType | undefined>([
'com.atproto.moderation.defs#reasonOther',
'tools.ozone.report.defs#reasonChildSafetyOther',
'tools.ozone.report.defs#reasonViolenceOther',
'tools.ozone.report.defs#reasonSexualOther',
'tools.ozone.report.defs#reasonHarassmentOther',
'tools.ozone.report.defs#reasonMisleadingOther',
'tools.ozone.report.defs#reasonRuleOther',
'tools.ozone.report.defs#reasonChildSafetyOther',
])
export function useReportOptions() {
const {_} = useLingui()