mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 15:57:48 +08:00
5 lines
146 B
JavaScript
5 lines
146 B
JavaScript
export function isToxic(actions) {
|
|
return actions.some((action) => action.__typename === 'FlagAction' && action.reason === 'TOXIC_COMMENT');
|
|
}
|
|
|