use ratio for engineer cost display

This commit is contained in:
Ryan Vazquez
2020-10-14 14:21:33 -04:00
parent 22e1195419
commit 921d705d51
@@ -81,7 +81,7 @@ const CostOverviewCard = ({ data }: CostOverviewCardProps) => {
</Box>
<LegendItem
title={
comparedChange.amount <= 0 ? 'Your Savings' : 'Your Excess'
comparedChange.ratio <= 0 ? 'Your Savings' : 'Your Excess'
}
>
<CostGrowth