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/containers/ActionContainer.tsx
-23Lines changed: 0 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -78,28 +78,6 @@ function ActionContainer(props: ActionContainerProps): JSX.Element {
78
78
// the hierarchy gets set on the first click in the page
79
79
if(hierarchy)displayArray(hierarchy);// when page is refreshed we may not have a hierarchy so we need to check if hierarchy was initialized. If it was initialized, invoke displayArray to display the hierarchy
80
80
81
-
// This function allows us to use our arrow keys to jump between snapshots. It passes an event and the index of each action-component. Using the arrow keys allows us to highligh snapshots and the enter key jumps to the selected snapshot
e.stopPropagation();// prevents further propagation of the current event in the capturing and bubbling phases
98
-
e.preventDefault();// needed or will trigger onClick right after
99
-
dispatch(changeSlider(currIndex));
100
-
}
101
-
}
102
-
103
81
// Sort hierarchyArr by index property of each object. This will be useful when later when we build our components so that our components will be displayed in index/chronological order
0 commit comments