ensure continuous present to prevent indexOf null error

This commit is contained in:
Colin Megill
2017-11-15 13:52:54 -08:00
parent 7d02228bee
commit de42ec3da3

View File

@@ -108,6 +108,7 @@ class Continuous extends React.Component {
maybeDrawLines(nextProps) {
if (
nextProps.ranges &&
nextProps.continuousSelection &&
this.state.axes /* this may cause things to never render :/ forceUpdate? */
) {
if (this.state._drawCellLines) {