fix double date in metrics
All checks were successful
deploy / deploy (push) Successful in 53s

This commit is contained in:
Lee 2023-10-28 01:37:05 +01:00
parent 239b177a14
commit cc81d85704

View File

@ -88,9 +88,6 @@ export default function AnalyticsChart({
if (i >= 1) {
const date = playerCountHistory[i - 1].time;
labels.push(formatTimeAgo(date));
} else {
const date = playerCountHistory[i].time;
labels.push(formatTimeAgo(date));
}
}