add fallback number
Some checks failed
deploy / deploy (push) Failing after 21s

This commit is contained in:
Lee 2023-10-27 16:28:29 +01:00
parent c52ba58d2e
commit 3084248a3c

View File

@ -101,7 +101,7 @@ export default function AnalyticsChart({
datasets: [
{
lineTension: 0.5,
data: playerCountHistory.map((count) => count.value),
data: playerCountHistory.map((count) => count.value || "0"),
label: "Active Players",
borderColor: "#3e95cd",
fill: false,