diff --git a/client/src/Hooks/monitorHooks.js b/client/src/Hooks/monitorHooks.js index 55c348626..4f0e9c049 100644 --- a/client/src/Hooks/monitorHooks.js +++ b/client/src/Hooks/monitorHooks.js @@ -207,8 +207,8 @@ const useFetchMonitorById = ({ monitorId, setMonitor, updateTrigger }) => { useEffect(() => { if (typeof monitorId === "undefined") { setIsLoading(false); - return - }; + return; + } const fetchMonitor = async () => { try { setIsLoading(true);