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

This commit is contained in:
Shekar Siri 2022-07-05 10:29:35 +02:00
parent 2cbae85214
commit 4f3f99f48b

View file

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