mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 22:21:45 +08:00
Deleting useless constructor
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user