Fixed insights report.

This commit is contained in:
Mike Cao 2023-12-01 16:02:50 -08:00
parent d0e1912faf
commit e068ac0dd9
6 changed files with 16 additions and 15 deletions

View file

@ -37,10 +37,10 @@ export function InsightsTable() {
width="100px"
alignment="end"
>
{row => row.visitors.toLocaleString()}
{row => row?.visitors?.toLocaleString()}
</GridColumn>
<GridColumn name="views" label={formatMessage(labels.views)} width="100px" alignment="end">
{row => row.views.toLocaleString()}
{row => row?.views?.toLocaleString()}
</GridColumn>
</GridTable>
);