Addressed all the comments in pr.

This commit is contained in:
Owaise Imdad committed 2025-06-18 01:07:22 +05:30
1 parent 11212c7371
commit e71e2ef42c
7 files changed
+147 -34

No files matched your search

+2 -2
View File
@@ -460,10 +460,10 @@ const useExportMonitors = () => {
const exportMonitors = async () => {
setIsLoading(true);
try {
const blob = await networkService.exportMonitors();
const response = await networkService.exportMonitors();
// Create a download link
const url = window.URL.createObjectURL(blob);
const url = window.URL.createObjectURL(response);
const link = document.createElement("a");
link.href = url;
link.setAttribute("download", "monitors.csv");