remove unused variables
This commit is contained in:
parent
751946a5eb
commit
c6d4ba8c45
|
@ -50,7 +50,6 @@ const CommentWidget = props => {
|
|||
}
|
||||
|
||||
const onUpdatePurpose = evt => {
|
||||
const prev = draftReply.purpose.trim();
|
||||
const updated = evt.value.trim();
|
||||
if (draftReply.value == '' && updated.length > 0) {
|
||||
draftReply.purpose = updated;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import React, { Component } from 'preact/compat';
|
||||
import i18n from '../../../i18n';
|
||||
import Select from 'react-select';
|
||||
|
||||
const purposes = [{'value': 'assessing', 'label': 'Assessing'}, {'value': 'bookmarking', 'label': 'Bookmarking'}, {'value': 'classifying', 'label': 'Classifying'}, {'value': 'commenting', 'label': 'Commenting'}, {'value': 'describing', 'label': 'Describing'},{'value': 'editing', 'label': 'Editing'}, {'value': 'highlighting', 'label': 'Highlighting'},{'value': 'identifying', 'label': 'Identifying'},{'value': 'linking', 'label': 'Linking'},{'value': 'moderating', 'label': 'Moderating'},{'value': 'questioning', 'label': 'Questioning'}]
|
||||
|
|
Loading…
Reference in New Issue