Updated metrics components for compare mode.

This commit is contained in:
Mike Cao 2024-05-23 00:17:20 -07:00
parent 6b03935fca
commit df66acaacf
117 changed files with 602 additions and 513 deletions

View file

@ -30,8 +30,8 @@ function clickhouseQuery(
startDate,
endDate,
},
).then(a => {
return Object.values(a).map(a => {
).then(result => {
return Object.values(result).map((a: any) => {
return { websiteId: a.websiteId, count: Number(a.count) };
});
});