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
snapshot,// from 'tabs[currentTab]' object in 'MainContainer'
30
-
snapshots,// from 'tabs[currentTab].snapshotDisplay' object in 'MainContainer'
31
-
currLocation,// from 'tabs[currentTab]' object in 'MainContainer'
32
-
axSnapshots,
33
-
}=props;
28
+
const{
29
+
snapshot,// from 'tabs[currentTab]' object in 'MainContainer'
30
+
snapshots,// from 'tabs[currentTab].snapshotDisplay' object in 'MainContainer'
31
+
currLocation,// from 'tabs[currentTab]' object in 'MainContainer'
32
+
axSnapshots,
33
+
}=props;
34
34
35
-
constdispatch=useDispatch();
35
+
constdispatch=useDispatch();
36
36
37
-
useEffect(()=>{
38
-
dispatch(setCurrentTabInApp('AxTree'));// dispatch sent at initial page load allowing changing "immer's" draft.currentTabInApp to 'tree' to facilitate render.
39
-
},[]);
37
+
useEffect(()=>{
38
+
dispatch(setCurrentTabInApp('AxTree'));// dispatch sent at initial page load allowing changing "immer's" draft.currentTabInApp to 'tree' to facilitate render.
39
+
},[]);
40
40
41
-
//removing/adding snapshot at beginning of return statement didn't change anything
42
-
return(
43
-
<>{snapshot&&(
44
-
<JSONTree
45
-
data={axSnapshots}
46
-
// shouldExpandNodeInitially={() => true}
47
-
theme={theme}
48
-
/>
49
-
)}
50
-
</>
51
-
)
52
-
}
53
-
exportdefaultAxTree;
41
+
//removing/adding snapshot at beginning of return statement didn't change anything
Copy file name to clipboardExpand all lines: src/extension/background.js
+33-8Lines changed: 33 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ function createTabObj(title) {
93
93
// 1. param 'obj' : arg request.payload, which is an object containing a tree from snapShot.ts and a route property
94
94
// 2. param tabObj: arg tabsObj[tabId], which is an object that holds info about a specific tab. Should change the name of tabObj to tabCollection or something
0 commit comments