File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { DashboardContext } from '../context/DashboardContext';
1414const SidebarContainer = React . memo ( ( ) => {
1515
1616 // Extract invervalID from ApplicationContext. Initival value: intervalID = null
17- const { intervalID } = useContext ( ApplicationContext ) ;
17+ const { intervalID, setExample } = useContext ( ApplicationContext ) ;
1818 // Extract isLoading and setLoading state from AwsContext. Initial value: isLoading = true
1919 const { isLoading, setLoadingState } = useContext ( AwsContext ) ;
2020 // clear interval and set loading state to true when leaving graph containers
@@ -29,6 +29,9 @@ const SidebarContainer = React.memo(() => {
2929 } ;
3030
3131 const handleExample = ( ) => {
32+
33+ setExample ( true )
34+
3235 const fields = {
3336 typeOfService : 'Microservices' ,
3437 database : 'MongoDB' ,
You can’t perform that action at this time.
0 commit comments