defined a constant for the type of monitors

This commit is contained in:
Pezhman Parsaee
2025-05-04 11:34:36 +02:00
parent 3df19fc516
commit fd64a67360

View File

@@ -7,6 +7,13 @@ import { useTheme } from "@mui/material/styles";
import { Typography } from "@mui/material";
import useUtils from "../../../Monitors/Hooks/useUtils";
const MONITOR_TYPES = {
WEB: ["http", "https"],
PING: ["ping"],
DOCKER: ["docker"],
PORT: ["port"],
};
const UptimeStatusBoxes = ({
isLoading = false,
monitor,