Skip to content

Commit

Permalink
edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Jun 14, 2023
1 parent 0825c4b commit 3b46dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function ReportActionItem(props) {
}
setModerationDecision(latestDecision.decision);

// props.action.message doesn't need to be a dependency, we only to check the change of props.action.message[0].moderationDecisions
// props.action.message doesn't need to be a dependency, we only need to check the change of props.action.message[0].moderationDecisions
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [props.action.message[0].moderationDecisions, props.action.actionName]);

Expand Down

0 comments on commit 3b46dd7

Please sign in to comment.