From 2e37512851994fda73f5cccfd4be2ad0fb79730c Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Wed, 12 Apr 2017 20:54:11 -0300 Subject: [PATCH] Deleting useless constructor --- .../client/components/OffTopicCheckbox.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/coral-plugin-offtopic/client/components/OffTopicCheckbox.js b/plugins/coral-plugin-offtopic/client/components/OffTopicCheckbox.js index e681eb412..4e7ef7adf 100644 --- a/plugins/coral-plugin-offtopic/client/components/OffTopicCheckbox.js +++ b/plugins/coral-plugin-offtopic/client/components/OffTopicCheckbox.js @@ -5,10 +5,8 @@ import {addTag, removeTag} from 'coral-plugin-commentbox/actions'; import styles from './styles.css'; class OffTopicCheckbox extends React.Component { - constructor() { - super(); - this.label = 'OFF_TOPIC'; - } + + label = 'OFF_TOPIC'; handleChange = (e) => { if (e.target.checked) {