add update trigger
This commit is contained in:
1 parent
b342511aac
commit
8a2d0d7724
1 file changed
+2
@@ -13,6 +13,7 @@ export const useFetchMonitorsWithChecks = ({
|
|||||||
filter,
|
filter,
|
||||||
field,
|
field,
|
||||||
order,
|
order,
|
||||||
|
monitorUpdateTrigger,
|
||||||
}) => {
|
}) => {
|
||||||
const [isLoading, setIsLoading] = useState(false);
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
const [count, setCount] = useState(undefined);
|
const [count, setCount] = useState(undefined);
|
||||||
@@ -63,6 +64,7 @@ export const useFetchMonitorsWithChecks = ({
|
|||||||
teamId,
|
teamId,
|
||||||
theme,
|
theme,
|
||||||
types,
|
types,
|
||||||
|
monitorUpdateTrigger,
|
||||||
]);
|
]);
|
||||||
return [monitors, count, isLoading, networkError];
|
return [monitors, count, isLoading, networkError];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user