Skip to content

Commit ba6a634

Browse files
Christopher StamperChristopher Stamper
authored andcommitted
Merge branch 'dev' into ctstamper/Timeout
2 parents baa3603 + f70a910 commit ba6a634

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app/RTKslices.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ export const mainSlice = createSlice({
5959
tabs[currentTab].hierarchy.children = [];
6060
tabs[currentTab].snapshots = [lastSnapshot];
6161

62-
tabs[currentTab].currLocation = tabs[currentTab].hiearchy;
62+
//there is a typo here
63+
tabs[currentTab].currLocation = tabs[currentTab].hierarchy;
64+
console.log('tabsHieracyh', tabs[currentTab].hierarchy);
6365
tabs[currentTab].index = 1;
6466
tabs[currentTab].currParent = 0;
6567
tabs[currentTab].currBranch = 1;
@@ -472,6 +474,7 @@ export const mainSlice = createSlice({
472474
tabs[currentTab] = { ...tabs[currentTab], seriesSavedStatus: 'saved' };
473475
}
474476
},
477+
475478
toggleExpanded: (state, action) => {
476479
const { tabs, currentTab } = state;
477480
// find correct node from currLocation and toggle isExpanded

0 commit comments

Comments
 (0)