fix: remove history fix (to be moved to new pr)

Signed-off-by: Anton Ganhammar <ganhammar@gmail.com>
This commit is contained in:
Anton Ganhammar
2023-09-25 18:32:55 +02:00
parent a468544fa9
commit 705a0dfe3f
@@ -113,8 +113,8 @@ export const CoverageHistoryChart = () => {
);
}
const [oldestCoverage] = valueHistory.history.slice(-1);
const latestCoverage = valueHistory.history[0];
const oldestCoverage = valueHistory.history[0];
const [latestCoverage] = valueHistory.history.slice(-1);
const getTrendForCoverage = (type: Coverage) => {
if (!oldestCoverage[type].percentage) {