Fully working

This commit is contained in:
Belen Curcio
2017-06-08 12:35:42 -03:00
parent 82a72e506f
commit 1f261f5216
6 changed files with 33 additions and 32 deletions
@@ -1,11 +1,8 @@
import React from 'react';
import styles from './styles.css';
import {t} from 'plugin-api/beta/client/services';
const isOffTopic = (tags) => {
return !!tags.filter((tag) => tag.name === 'OFF_TOPIC').length;
};
const isOffTopic = (tags) => !!tags.filter((t) => t.tag.name === 'OFF_TOPIC').length;
export default (props) => (
<span>