Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinebridge committed Jun 10, 2024
1 parent 86bbb14 commit 6ff2f10
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ const TrackRenderingContainer = observer(function ({
const ref = useRef<HTMLDivElement>(null)
const minimized = track.minimized
const dynamicResize =
display.adjustTrackLayoutHeightSetting === 'static'
display?.adjustTrackLayoutHeightSetting === 'static'
? false
: display?.PileupDisplay.adjustTrackLayoutHeightSetting === 'static'
: display?.PileupDisplay?.adjustTrackLayoutHeightSetting === 'static'
? false
: true

Expand Down

0 comments on commit 6ff2f10

Please sign in to comment.