Skip to content

Commit d0eb90d

Browse files
committed
wip: remove componentDidUpdate - leftover from previous debugging
1 parent 0474224 commit d0eb90d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/webui/src/client/ui/SegmentTimeline/SegmentTimeline.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -304,14 +304,6 @@ export class SegmentTimelineClass extends React.Component<Translated<WithTiming<
304304
RundownViewEventBus.off(RundownViewEvents.SEGMENT_ZOOM_OFF, this.onRundownEventSegmentZoomOff)
305305
}
306306

307-
componentDidUpdate(prevProps: Translated<WithTiming<IProps>>): void {
308-
if (this.props.isSelected !== prevProps.isSelected) {
309-
this.setState({
310-
isSelected: this.props.isSelected,
311-
})
312-
}
313-
}
314-
315307
private highlightTimeout: NodeJS.Timer | undefined
316308

317309
private onHighlight = (e: HighlightEvent) => {

0 commit comments

Comments
 (0)