mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
fixes to spam plugin
This commit is contained in:
@@ -29,7 +29,7 @@ const getInfo = (toxicity, actions) => {
|
||||
|
||||
const ToxicLabel = ({ comment: { actions, toxicity } }) => (
|
||||
<CommentDetail
|
||||
icon={'add_box'}
|
||||
icon={'error'}
|
||||
header={t('talk-plugin-toxic-comments.toxic_comment')}
|
||||
info={getInfo(toxicity, actions)}
|
||||
/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { FlagLabel } from 'plugin-api/beta/client/components/ui';
|
||||
|
||||
const ToxicLabel = () => <FlagLabel iconName="add_box">Toxic</FlagLabel>;
|
||||
const ToxicLabel = () => <FlagLabel iconName="error">Toxic</FlagLabel>;
|
||||
|
||||
export default ToxicLabel;
|
||||
|
||||
Reference in New Issue
Block a user