Skip to content

Commit

Permalink
Unneeded change to functional call
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 10, 2021
1 parent d5a2f28 commit 2fbf4c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ const HierarchicalTrackSelector = observer(({ model, toolbarHeight = 0 }) => {
const [assemblyIdx, setAssemblyIdx] = useState(0)
const [headerHeight, setHeaderHeight] = useState(0)

const { assemblyNames, collapsed } = model
const { assemblyNames } = model
const assemblyName = assemblyNames[assemblyIdx]
return assemblyName ? (
<>
Expand All @@ -557,7 +557,7 @@ const HierarchicalTrackSelector = observer(({ model, toolbarHeight = 0 }) => {
assemblyIdx={assemblyIdx}
/>
<AutoSizedHierarchicalTree
tree={model.hierarchy(assemblyName, collapsed)}
tree={model.hierarchy(assemblyName)}
model={model}
offset={toolbarHeight + headerHeight}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ export default pluginManager =>
})
},

hierarchy(assemblyName, collapsed) {
hierarchy(assemblyName) {
const hier = generateHierarchy(
self,
self.trackConfigurations(assemblyName),
collapsed,
self.collapsed,
)

const session = getSession(self)
Expand Down

0 comments on commit 2fbf4c6

Please sign in to comment.