Fix: Incidents for all monitors

This commit is contained in:
Aryaman Kumar Sharma committed 2025-03-05 00:58:43 +05:30
1 parent 3be1917cc6
commit 71569e1d50
4 files changed
+14 -5

No files matched your search

@@ -27,8 +27,11 @@ const IncidentTable = ({
//Local state
const [page, setPage] = useState(0);
const [rowsPerPage, setRowsPerPage] = useState(10);
const selectedMonitorDetails = monitors?.[selectedMonitor];
const selectedMonitorType = selectedMonitorDetails?.type;
const { isLoading, networkError, checks, checksCount } = useChecksFetch({
selectedMonitor,
selectedMonitorType,
filter,
dateRange,
page,