refactor: use global Incident type instead of local interface
This commit is contained in:
1 parent
0f51d68ff0
commit
37dd9fad26
1 file changed
+1
-8
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user