From 89746274e9064590ad3aeee9729c6483cb3fc18a Mon Sep 17 00:00:00 2001 From: GreenAsJade Date: Wed, 16 Oct 2024 11:39:21 +1030 Subject: [PATCH] clarify field name --- src/views/ReportsCenter/ModerationActionSelector.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/ReportsCenter/ModerationActionSelector.tsx b/src/views/ReportsCenter/ModerationActionSelector.tsx index 66001a0cfc..c942abb3d5 100644 --- a/src/views/ReportsCenter/ModerationActionSelector.tsx +++ b/src/views/ReportsCenter/ModerationActionSelector.tsx @@ -155,7 +155,7 @@ export function ModerationActionSelector({ const reportedBySelf = user.id === report.reporting_user.id; const [selectedOption, setSelectedOption] = React.useState(""); - const [mod_note, setModNote] = React.useState(""); + const [community_mod_note, setModNote] = React.useState(""); const [voted, setVoted] = React.useState(false); const updateSelectedAction = (e: React.ChangeEvent) => { @@ -219,7 +219,7 @@ export function ModerationActionSelector({ "Reason for escalating?", )} rows={5} - value={mod_note} + value={community_mod_note} onChange={(ev) => setModNote(ev.target.value)} /> )} @@ -236,11 +236,13 @@ export function ModerationActionSelector({