From acd5dc982eecb144aa4bf361ddaf4762e3ba40c8 Mon Sep 17 00:00:00 2001 From: Br0wnHammer Date: Wed, 18 Jun 2025 11:13:42 +0530 Subject: [PATCH] Fix: Type Check in useFetchChecksMonitor --- client/src/Hooks/checkHooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/Hooks/checkHooks.js b/client/src/Hooks/checkHooks.js index 2f05d3538..683b89b20 100644 --- a/client/src/Hooks/checkHooks.js +++ b/client/src/Hooks/checkHooks.js @@ -71,7 +71,7 @@ const useFetchChecksByMonitor = ({ useEffect(() => { const fetchChecks = async () => { - if (!enabled) { + if (!enabled || !type) { return; }