ts
This commit is contained in:
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>
|
||||
|
||||
@@ -8,6 +8,7 @@ import { useTheme } from "@mui/material/styles";
|
||||
import { useNavigate } from "react-router";
|
||||
import { useAppDispatch } from "@/hooks/AppHooks";
|
||||
import { usePost } from "@/hooks/UseApi";
|
||||
import { logout } from "@/features/authSlice";
|
||||
|
||||
const NoTeam = () => {
|
||||
const dispatch = useAppDispatch();
|
||||
|
||||
@@ -6,7 +6,6 @@ import MenuItem from "@mui/material/MenuItem";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import { SettingsForm } from "@/pages/settings/SettingsForm";
|
||||
|
||||
import type { ChartType } from "@/features/uiSlice";
|
||||
import { useTheme } from "@mui/material/styles";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { setTimezone, setMode, setChartType } from "@/features/uiSlice";
|
||||
|
||||
Reference in new issue
Block a user