Merge branch 'dev' into analytics

This commit is contained in:
Mike Cao 2024-03-20 17:44:14 -07:00
commit 802873ce19
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ import ListTable from 'components/metrics/ListTable';
import styles from './UTMView.module.css';
import { useMessages } from 'components/hooks';
function toArray(data: { [key: string]: number }) {
function toArray(data: { [key: string]: number } = {}) {
return Object.keys(data)
.map(key => {
return { name: key, value: data[key] };