This commit is contained in:
Anantha Kumaran 2022-07-09 11:55:47 +05:30
parent 974a2b23d8
commit 41b0e1f66a
1 changed files with 0 additions and 1 deletions

View File

@ -114,7 +114,6 @@ function renderOverview(gains: Gain[]) {
);
};
const maxInvestment = _.chain(gains).map(getInvestmentAmount).max().value();
const maxX = _.chain(gains)
.map((g) => getInvestmentAmount(g) + _.max([getGainAmount(g), 0]))
.max()