mirror of
https://github.com/wassname/talk.git
synced 2026-07-29 11:28:24 +08:00
fix lint
This commit is contained in:
@@ -52,6 +52,7 @@ class ModerationQueue extends React.Component {
|
||||
// Hack for dynamic mdl tabs
|
||||
componentDidMount () {
|
||||
if (typeof componentHandler !== 'undefined') {
|
||||
|
||||
// FIXME: fix this hack
|
||||
componentHandler.upgradeAllRegistered(); // eslint-disable-line no-undef
|
||||
}
|
||||
@@ -59,6 +60,7 @@ class ModerationQueue extends React.Component {
|
||||
|
||||
// Dispatch the update status action
|
||||
onCommentAction (action, comment) {
|
||||
|
||||
// If not banning then change the status to approved or flagged as action = status
|
||||
this.props.dispatch(updateStatus(action, comment));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user