From 972d61bd8cee60dd08d28f4296a981902f9d4cbe Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 2 May 2022 14:31:54 -0400 Subject: [PATCH] Compare strings --- .../ui/components/modals/report-modal/steps/reason-step.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/ui/components/modals/report-modal/steps/reason-step.tsx b/app/soapbox/features/ui/components/modals/report-modal/steps/reason-step.tsx index c9ed280e5..b3f3395d9 100644 --- a/app/soapbox/features/ui/components/modals/report-modal/steps/reason-step.tsx +++ b/app/soapbox/features/ui/components/modals/report-modal/steps/reason-step.tsx @@ -74,7 +74,7 @@ const ReasonStep = (_props: IReasonStep) => { ref={rulesListRef} > {rules.map((rule, idx) => { - const isSelected = String(ruleId) === rule.id; + const isSelected = String(ruleId) === String(rule.id); return (