[PageSpeed]: Formatting monitorHooks
This commit is contained in:
1 parent
352d3a1647
commit
a7dd23141c
1 file changed
+2
-2
@@ -207,8 +207,8 @@ const useFetchMonitorById = ({ monitorId, setMonitor, updateTrigger }) => {
|
||||
useEffect(() => {
|
||||
if (typeof monitorId === "undefined") {
|
||||
setIsLoading(false);
|
||||
return
|
||||
};
|
||||
return;
|
||||
}
|
||||
const fetchMonitor = async () => {
|
||||
try {
|
||||
setIsLoading(true);
|
||||
|
||||
Reference in new issue
Block a user