[PageSpeed]: Formatting monitorHooks

This commit is contained in:
Jesulayomy
2025-07-12 14:26:17 -04:00
parent 352d3a1647
commit a7dd23141c

View File

@@ -207,8 +207,8 @@ const useFetchMonitorById = ({ monitorId, setMonitor, updateTrigger }) => {
useEffect(() => {
if (typeof monitorId === "undefined") {
setIsLoading(false);
return
};
return;
}
const fetchMonitor = async () => {
try {
setIsLoading(true);