[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(() => {
|
useEffect(() => {
|
||||||
if (typeof monitorId === "undefined") {
|
if (typeof monitorId === "undefined") {
|
||||||
setIsLoading(false);
|
setIsLoading(false);
|
||||||
return
|
return;
|
||||||
};
|
}
|
||||||
const fetchMonitor = async () => {
|
const fetchMonitor = async () => {
|
||||||
try {
|
try {
|
||||||
setIsLoading(true);
|
setIsLoading(true);
|
||||||
|
|||||||
Reference in new issue
Block a user