This commit is contained in:
bracesproul
2025-03-03 17:56:53 -08:00
parent 6b382879c5
commit d474af52f8
2 changed files with 0 additions and 5 deletions

View File

@@ -146,7 +146,6 @@ export default function PortfolioView() {
};
// Calculate total value and percent change for display
const totalValue = portfolio.totalValue;
const totalChange = portfolio.holdings.reduce(
(acc, curr) => acc + (curr.price - curr.avgCost) * curr.shares,
0,