Fix: Type Check in useFetchChecksMonitor
This commit is contained in:
1 parent
287ea3e5a6
commit
acd5dc982e
1 file changed
+1
-1
@@ -71,7 +71,7 @@ const useFetchChecksByMonitor = ({
|
||||
|
||||
useEffect(() => {
|
||||
const fetchChecks = async () => {
|
||||
if (!enabled) {
|
||||
if (!enabled || !type) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user