fix(ui) - DomBuildTime avg value as per the API change

This commit is contained in:
Shekar Siri 2022-07-05 10:35:43 +02:00
parent 0a6ae68c90
commit 0735c3fa28

View file

@ -44,7 +44,7 @@ function DomBuildingTime(props: Props) {
onSelect={onSelect}
placeholder="Search for Page"
/> */}
<AvgLabel className="ml-auto" text="Avg" count={Math.round(metric.data.avg)} unit="ms" />
<AvgLabel className="ml-auto" text="Avg" count={Math.round(metric.data.value)} unit="ms" />
</div>
<ResponsiveContainer height={ 207 } width="100%">
<AreaChart