only log when node was found

This commit is contained in:
Bruno Windels 2019-03-20 11:10:04 +01:00
parent c306181fcd
commit 1e372aad47

View file

@ -665,7 +665,9 @@ module.exports = React.createClass({
break;
}
}
debuglog("had to find tracked node again for " + scrollState.trackedScrollToken);
if (node) {
debuglog("had to find tracked node again for " + scrollState.trackedScrollToken);
}
scrollState.trackedNode = node;
}