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
Copy file name to clipboardExpand all lines: src/App.jsx
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -23,16 +23,10 @@ const App = () => {
23
23
</GlobalContext.Provider>
24
24
</div>
25
25
);
26
-
}elseif(global.isProjectLoaded==='about'){
27
-
return(
28
-
<>
29
-
<Aboutdispatch={dispatchToGlobal}/>
30
-
</>
31
-
);
32
26
}else{
33
27
return(
34
28
/**
35
-
* Wrap the components that we want to share the unique states with (ex: share testCase state with navbar & left panel (the two containers that hold the components that need testCaseRducer)) in the unique providers (ex: TestCaseContext.Provider).
29
+
* Wrap the components that we want to share the unique states with.
36
30
* You can only provide one value to a Provider.
37
31
* - In order to avoid creating separate Contexts, wrap multiples in an array (ex: testCase and dispatchToTestCase).
0 commit comments