From 37dd9fad26ded451833bf42a56f003ba9af6df86 Mon Sep 17 00:00:00 2001 From: nikhil2004 Date: Tue, 22 Sep 2026 22:18:47 +0530 Subject: [PATCH] refactor: use global Incident type instead of local interface --- .../StatusPage/Status/themes/shared/IncidentModal.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/client/src/Pages/StatusPage/Status/themes/shared/IncidentModal.tsx b/client/src/Pages/StatusPage/Status/themes/shared/IncidentModal.tsx index d19d15f20..7d811ba5f 100644 --- a/client/src/Pages/StatusPage/Status/themes/shared/IncidentModal.tsx +++ b/client/src/Pages/StatusPage/Status/themes/shared/IncidentModal.tsx @@ -11,14 +11,7 @@ import { useTheme } from "@mui/material"; import { SPACING } from "@/Utils/Theme/constants"; import { formatDateWithTz } from "@/Utils/TimeUtils"; -interface Incident { - id: string; - message: string | null; - startTime: string; - endTime: string | null; - statusCode: number | null; -} - +import type { Incident } from "@/Types/Incident"; interface IncidentModalProps { url: string; monitorId: string | null;