aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-05-04 21:19:28 -0700
committerPinapelz <yukais@pinapelz.com>2025-05-04 21:19:28 -0700
commit0e7c70db501fc67c658fe7cc617c98107ce8e524 (patch)
treeff7ea3a685cda6d9fff28ce75be6850cad8966e4 /src/pages
parentbeb10f29482261acbdc3e216ea929d9fa12fc149 (diff)
stats: hide stats that can't be generated yet
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/stats/[slug].tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pages/stats/[slug].tsx b/src/pages/stats/[slug].tsx
index 3b3d709..3cc7f99 100644
--- a/src/pages/stats/[slug].tsx
+++ b/src/pages/stats/[slug].tsx
@@ -19,9 +19,9 @@ interface ChannelDataProp {
next_milestone: string;
days_until_next_milestone: string;
next_milestone_date: string;
- diff_1d: number;
- diff_7d: number;
- diff_30d: number;
+ diff_1d?: number;
+ diff_7d?: number;
+ diff_30d?: number;
}
interface GraphDataProp {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage