diff --git a/client/src/Hooks/monitorHooks.js b/client/src/Hooks/monitorHooks.js index 5f303d26a..013e7fc25 100644 --- a/client/src/Hooks/monitorHooks.js +++ b/client/src/Hooks/monitorHooks.js @@ -463,7 +463,7 @@ const useExportMonitors = () => { const response = await networkService.exportMonitors(); // Create a download link - const url = window.URL.createObjectURL(response); + const url = window.URL.createObjectURL(response.data); const link = document.createElement("a"); link.href = url; link.setAttribute("download", "monitors.csv");