mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-16 22:59:44 -06:00
defined a constant for the type of monitors
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user