From 45d9c5561fc613bc41c8b025d21c7d72916ce28c Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 24 Sep 2025 21:49:43 -0700 Subject: [PATCH] other fix --- src/components/moderation/ReportDialog/state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/moderation/ReportDialog/state.ts b/src/components/moderation/ReportDialog/state.ts index 97d4744e79..8d510083ce 100644 --- a/src/components/moderation/ReportDialog/state.ts +++ b/src/components/moderation/ReportDialog/state.ts @@ -72,7 +72,6 @@ export function reducer(state: ReportState, action: ReportAction): ReportState { activeStepIndex1: action.option.key === 'other' ? 3 : 2, selectedOption: action.option.key === 'other' ? action.otherOption : undefined, - detailsOpen: state.selectedCategory?.key === 'other', } case 'clearCategory': return { @@ -103,6 +102,7 @@ export function reducer(state: ReportState, action: ReportAction): ReportState { ...state, selectedLabeler: action.labeler, activeStepIndex1: 4, + detailsOpen: OtherReportReasons.has(state.selectedOption?.reason), } case 'clearLabeler': return {