Skip to content

Commit

Permalink
Fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
guzmanvig committed Jan 3, 2024
1 parent c2f05ff commit c95f0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SeqViewerContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class SeqViewerContainer extends React.Component<SeqViewerContainerProps, SeqVie
// If the selection prop updates, also scroll the lineaer view to the new selection
componentDidUpdate = (prevProps: SeqViewerContainerProps) => {
if (this.props.selection !== prevProps.selection) {
this.setCentralIndex("LINEAR", this.props.selection?.start || 0);
this.setCentralIndex("LINEAR", this.props.selection?.start || 0);
}
};

Expand Down

0 comments on commit c95f0c5

Please sign in to comment.