diff --git a/src/app/tabs/staticanalysis/staticAnalysisView.js b/src/app/tabs/staticanalysis/staticAnalysisView.js index e77baa8c36..edf81fe35c 100644 --- a/src/app/tabs/staticanalysis/staticAnalysisView.js +++ b/src/app/tabs/staticanalysis/staticAnalysisView.js @@ -187,8 +187,8 @@ module.exports = staticAnalysisView * @param arr list of static analysis modules received from remix-analyzer module */ function preProcessModules (arr) { - return arr.map((item, i) => { - const itemObj = new item() + return arr.map((Item, i) => { + const itemObj = new Item() itemObj['_index'] = i itemObj.categoryDisplayName = itemObj.category.displayName itemObj.categoryId = itemObj.category.id