Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_processProps(props) {
var {
sequenceData,
columnWidth
} = props;
var {
sequence,
offset,
className
} = sequenceData;
var complement = getComplementSequenceString(sequence);
var renderedSequence = columnizeString(sequence, columnWidth);
var renderedComplement = columnizeString(complement, columnWidth);
this.setState({
renderedSequence: renderedSequence,
renderedComplement: renderedComplement,
renderedOffset: (offset || 0) + 1
});
}