diff --git a/earn/src/components/advanced/BorrowMetrics.tsx b/earn/src/components/advanced/BorrowMetrics.tsx index bfa26c89..312bb754 100644 --- a/earn/src/components/advanced/BorrowMetrics.tsx +++ b/earn/src/components/advanced/BorrowMetrics.tsx @@ -104,14 +104,16 @@ function getHealthColor(health: number) { } } -function MetricCard(props: { label: string; value: string }) { - const { label, value } = props; +function MetricCard(props: { label: string; value: string; valueClassName?: string }) { + const { label, value, valueClassName } = props; return ( {label} - {value} + + {value} + ); } @@ -252,18 +254,22 @@ export function BorrowMetrics(props: BorrowMetricsProps) {