From f3695dec35e72a10d211b91dfaf3a495f1e46feb Mon Sep 17 00:00:00 2001 From: Michael Kurz Date: Wed, 31 Aug 2022 18:30:22 +0200 Subject: [PATCH] #38 remove dead code --- .../components/ConflictOverview/ConflictOverview.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ui/src/visualizations/team-awareness/components/ConflictOverview/ConflictOverview.js b/ui/src/visualizations/team-awareness/components/ConflictOverview/ConflictOverview.js index d3484a6c..3bebcfe5 100644 --- a/ui/src/visualizations/team-awareness/components/ConflictOverview/ConflictOverview.js +++ b/ui/src/visualizations/team-awareness/components/ConflictOverview/ConflictOverview.js @@ -15,12 +15,6 @@ export default class ConflictOverview extends React.Component { }; } - calculateConflictAmount() { - let amount = 0; - this.props.conflicts.forEach(c => (amount += c.data.length)); - return amount; - } - reduceConflictsToStakeholders() { const conflictedFiles = this.props.conflicts ? this.props.conflicts : []; const conflicts = new Map();