From ef3f08788f54a6d6bf9da70c1fe0044790d5a98f Mon Sep 17 00:00:00 2001 From: Sophia Willows <20146550+sophiabits@users.noreply.github.com> Date: Sun, 20 Feb 2022 14:25:33 +1300 Subject: [PATCH] Don't show metric change indicator when metric delta is 0 --- components/metrics/MetricCard.js | 1 - 1 file changed, 1 deletion(-) diff --git a/components/metrics/MetricCard.js b/components/metrics/MetricCard.js index 9b407f37..429a37d6 100644 --- a/components/metrics/MetricCard.js +++ b/components/metrics/MetricCard.js @@ -19,7 +19,6 @@ const MetricCard = ({ {props.x.interpolate(x => format(x))}
{label} - {~~change === 0 && !hideComparison && {format(0)}} {~~change !== 0 && !hideComparison && (