You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// clear interval and set loading state to true when leaving graph containers
20
20
21
21
/**
22
-
* @function handleCLick - check if the 'intervalID' exists. If so, theres a timer running and the fuunction clears the timer using @function clearInterval - function.
23
-
* Checks if variable 'isLoading' is false and if so the content is not loading and therefore, sets it to true using the setLoadingState function.
22
+
* @function handleCLick - check if the 'intervalID' exists. If so, theres a timer running and the fuunction clears the timer using @function clearInterval - function.
23
+
* Checks if variable 'isLoading' is false and if so the content is not loading and therefore, sets it to true using the setLoadingState function.
24
24
*/
25
25
consthandleClick=()=>{
26
-
if(intervalID)clearInterval(intervalID);
27
-
if(!isLoading)setLoadingState(true);
28
-
}
26
+
if(intervalID)clearInterval(intervalID);
27
+
if(!isLoading)setLoadingState(true);
28
+
};
29
29
30
30
return(
31
31
<divclassName="sidebar-container"id="mySidebar">
32
32
<divclassName="sidebar">
33
33
<divclassName="firstRow">
34
34
<span>
35
-
<imgalt="C"id="C"src="../assets/C.svg"/>
35
+
{/* Attempting to change the path by taking out the ../ */}
0 commit comments