defined a constant for the type of monitors

This commit is contained in:
Pezhman Parsaee committed 2025-05-04 11:34:36 +02:00
1 parent 3df19fc516
commit fd64a67360
1 file changed
+7
@@ -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,