Skip to content

Commit

Permalink
fix spark
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo committed Jan 24, 2025
1 parent b3f28f7 commit ebb4601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/abacus-ts/calculators/markets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function formatSparklineData(sparklines?: {
if (sparklines == null) return sparklines;
return mapValues(sparklines, (map) => {
return mapValues(map, (sparkline) => {
return sparkline.map((point) => MustBigNumber(point).toNumber());
return sparkline.map((point) => MustBigNumber(point).toNumber()).toReversed();
});
});
}
Expand Down

0 comments on commit ebb4601

Please sign in to comment.