user helper

This commit is contained in:
Alex Holliday committed 2026-03-06 11:01:38 -08:00
1 parent 2f1a164c26
commit 206e28d1b9
1 file changed
+2 -2
+2 -2
View File
@@ -32,7 +32,7 @@ import {
import { SPACING, LAYOUT } from "@/Utils/Theme/constants"; import { SPACING, LAYOUT } from "@/Utils/Theme/constants";
import { useGet, usePost, usePatch, useDelete } from "@/Hooks/UseApi"; import { useGet, usePost, usePatch, useDelete } from "@/Hooks/UseApi";
import { useMonitorForm } from "@/Hooks/useMonitorForm"; import { useMonitorForm } from "@/Hooks/useMonitorForm";
import type { Monitor, MonitorType, GamesMap } from "@/Types/Monitor"; import { type Monitor, type MonitorType, type GamesMap, supportsGeoCheck } from "@/Types/Monitor";
import type { Notification } from "@/Types/Notification"; import type { Notification } from "@/Types/Notification";
import type { MonitorFormData } from "@/Validation/monitor"; import type { MonitorFormData } from "@/Validation/monitor";
@@ -885,7 +885,7 @@ const CreateMonitorPage = () => {
/> />
)} )}
{(watchedType === "http" || watchedType === "ping") && ( {supportsGeoCheck(watchedType) && (
<ConfigBox <ConfigBox
title={t("pages.createMonitor.form.geoChecks.title")} title={t("pages.createMonitor.form.geoChecks.title")}
subtitle={t("pages.createMonitor.form.geoChecks.description")} subtitle={t("pages.createMonitor.form.geoChecks.description")}