forked from p34709852/monkey
Fix unused variable eslint warnings
This commit is contained in:
parent
508c562243
commit
f267e5bbc0
|
@ -1,6 +1,5 @@
|
|||
import React from 'react';
|
||||
import Graph from 'react-graph-vis';
|
||||
import Dimensions from 'react-dimensions'
|
||||
|
||||
class GraphWrapper extends React.Component {
|
||||
|
||||
|
|
|
@ -597,7 +597,7 @@ class ReportPageComponent extends AuthComponent {
|
|||
generateIssue = (issue) => {
|
||||
let issueDescriptor = this.IssueDescriptorEnum[issue.type];
|
||||
|
||||
let reportFnc = (issue) => {};
|
||||
let reportFnc = {};
|
||||
if (issue.hasOwnProperty('credential_type') && issue.credential_type !== null) {
|
||||
reportFnc = issueDescriptor[this.issueContentTypes.REPORT][issue.credential_type];
|
||||
} else {
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
class IssueDescriptor {
|
||||
constructor(name, overviewComponent, reportComponent) {
|
||||
this.name = name;
|
||||
this.overviewComponent = overviewComponent;
|
||||
this.reportComponent = reportComponent;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue