use hooks

This commit is contained in:
Alex Holliday committed 2025-06-12 15:47:59 +08:00
1 parent d62fe5f4ab
commit a111903965
3 files changed
+55 -19

No files matched your search

+5 -1
View File
@@ -65,10 +65,14 @@ const UptimeDetails = () => {
});
const monitorType = monitor?.type;
const [checks, checksCount, checksAreLoading, checksNetworkError] = useFetchChecks({
monitorId,
monitorType,
type: monitorType,
sortOrder: "desc",
limit: null,
dateRange,
filter: null,
page,
rowsPerPage,
});