fix: fix bounce rate color problem

This commit is contained in:
moonrailgun 2023-11-03 00:30:36 +08:00
parent d5a7a5d655
commit 517268e652

View File

@ -160,6 +160,7 @@ export const MetricsBar: React.FC<{
/> />
<MetricCard <MetricCard
label="Bounce rate" label="Bounce rate"
reverseColors={true}
value={uniques.value ? (num / uniques.value) * 100 : 0} value={uniques.value ? (num / uniques.value) * 100 : 0}
change={ change={
uniques.value && uniques.change uniques.value && uniques.change