diff --git a/client/src/Pages/StatusPage/Status/index.tsx b/client/src/Pages/StatusPage/Status/index.tsx
index b38b25323..66fcece97 100644
--- a/client/src/Pages/StatusPage/Status/index.tsx
+++ b/client/src/Pages/StatusPage/Status/index.tsx
@@ -12,7 +12,6 @@ import { useGet } from "@/Hooks/UseApi";
import {
isStatusPageRange,
resolveStatusPageTheme,
- STATUS_PAGE_RANGES,
type StatusPageRange,
} from "@/Types/StatusPage";
import {
diff --git a/client/src/Pages/StatusPage/Status/themes/shared/BaseStatusPage.tsx b/client/src/Pages/StatusPage/Status/themes/shared/BaseStatusPage.tsx
index a522b302f..daca33d00 100644
--- a/client/src/Pages/StatusPage/Status/themes/shared/BaseStatusPage.tsx
+++ b/client/src/Pages/StatusPage/Status/themes/shared/BaseStatusPage.tsx
@@ -205,7 +205,7 @@ export const BaseStatusPage = ({
const cells =
range === "latest"
- ? checksToCells(monitor.recentChecks ?? [], t)
+ ? checksToCells(monitor.recentChecks ?? [])
: dailyBucketsToCells(
monitor.dailyChecks ?? [],
STATUS_PAGE_RANGE_DAYS[range],
diff --git a/client/src/Pages/StatusPage/Status/themes/shared/ChartCells.tsx b/client/src/Pages/StatusPage/Status/themes/shared/ChartCells.tsx
index 8e86c25c4..e45d2e6b6 100644
--- a/client/src/Pages/StatusPage/Status/themes/shared/ChartCells.tsx
+++ b/client/src/Pages/StatusPage/Status/themes/shared/ChartCells.tsx
@@ -64,7 +64,7 @@ const padCells = (cells: ChartCell[], length: number): ChartCell[] => [
),
];
-export const checksToCells = (checks: CheckSnapshot[], t: TFunction): ChartCell[] => {
+export const checksToCells = (checks: CheckSnapshot[]): ChartCell[] => {
const source = checks.slice(-MAX_RECENT_CHECKS);
const heights = computeBarHeights(source);
const cells = source.map(
@@ -100,9 +100,9 @@ export const dailyBucketsToCells = (
heatKind:
barKind === "up"
? classifyResponseTime(true, bucket.avgResponseTime ?? 0)
- : barKind, // degraded/down days keep their outcome color in the heatmap too
+ : barKind,
heightPct: heights.get(date) ?? MIN_HEIGHT_PCT,
- responseTime: bucket.avgResponseTime ?? 0, // null (no RT data that day) → 0, excluded from footer stats like empty cells
+ responseTime: bucket.avgResponseTime ?? 0,
tooltip: ,
ariaLabel: t("pages.statusPages.monitorsList.chart.dayAria", {
date,
diff --git a/client/src/Pages/StatusPage/Status/themes/shared/ThemedHistogram.tsx b/client/src/Pages/StatusPage/Status/themes/shared/ThemedHistogram.tsx
index 5fc1dcf33..3643d901c 100644
--- a/client/src/Pages/StatusPage/Status/themes/shared/ThemedHistogram.tsx
+++ b/client/src/Pages/StatusPage/Status/themes/shared/ThemedHistogram.tsx
@@ -4,7 +4,6 @@ import Box from "@mui/material/Box";
import Stack from "@mui/material/Stack";
import type { SxProps, Theme } from "@mui/material/styles";
import { useTranslation } from "react-i18next";
-import type { CheckSnapshot } from "@/Types/Check";
import { formatMs } from "@/Utils/TimeUtils";
import type {
BarKind,
@@ -19,9 +18,6 @@ interface Props {
statsGap?: number;
}
-const tone = (check: CheckSnapshot): Exclude =>
- check.status ? "up" : "down";
-
export const ThemedHistogram = ({
cells,
containerSx,