Skip to content

Commit

Permalink
fix: invalid site will break uers
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyphyn committed Aug 17, 2024
1 parent 36a7838 commit ad2b935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<Icon src={ChartBar} size="16" mini />
{$t('routes.frontpage.footer', {
// @ts-ignore
users: $site?.site_view.counts.users_active_day ?? '??',
users: $site?.site_view?.counts?.users_active_day ?? '??',
})}
</span>
</Pageination>
Expand Down

0 comments on commit ad2b935

Please sign in to comment.