fixes to spam plugin

This commit is contained in:
Wyatt Johnson
2018-02-16 14:34:04 -07:00
parent d812a0f696
commit 4bb2b3d731
9 changed files with 6 additions and 20 deletions
@@ -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;