This commit is contained in:
Alex Holliday committed 2025-11-26 13:51:44 -08:00
1 parent 5780c0b969
commit c50b0cbfd6
4 files changed
+4 -6

No files matched your search

@@ -11,7 +11,6 @@ import {
type UptimeMonitorType,
type MonitorStatus,
} from "@/types/monitor";
import { ThemeContext } from "@emotion/react";
type HeaderFilterProps = {
selectedTypes: UptimeMonitorType[];
@@ -2,9 +2,8 @@ import Stack from "@mui/material/Stack";
import Box from "@mui/material/Box";
import { useTheme } from "@mui/material/styles";
import type { ICheck } from "@/types/check";
import { HistogramResponseTimeTooltip } from "@/components/monitors/HistogramResponseTimeTooltip";
import { normalizeResponseTimes } from "@/utils/DataUtils";
import { HeatmapResponseTimeTooltip } from "../common/HeatmapResponseTimeTooltip";
const BAR_HEIGHT = "50px";
export const HistogramStatusPage = ({ checks }: { checks: ICheck[] }) => {
@@ -36,7 +35,7 @@ export const HistogramStatusPage = ({ checks }: { checks: ICheck[] }) => {
>
{data.map((check, index) => {
return (
<HistogramResponseTimeTooltip key={`${check}-${index}`} check={check}>
<HeatmapResponseTimeTooltip key={`${check}-${index}`} check={check}>
<Box
position="relative"
width={{
@@ -64,7 +63,7 @@ export const HistogramStatusPage = ({ checks }: { checks: ICheck[] }) => {
}}
/>
</Box>
</HistogramResponseTimeTooltip>
</HeatmapResponseTimeTooltip>
);
})}
</Stack>