Removing call to undefined function on resize (#2396)

This commit is contained in:
KevinRLeC 2017-10-25 16:10:45 -04:00 committed by CHaBou
parent 7f804cf66c
commit 0dd18ba5b3

View file

@ -91,7 +91,7 @@ class TermGroup_ extends PureComponent {
componentWillReceiveProps(nextProps) {
if (this.props.termGroup.sizes != nextProps.termGroup.sizes || nextProps.sizeChanged) {
this.term && this.term.measureResize();
this.term && this.term.fitResize();
// Indicate to children that their size has changed even if their ratio hasn't
this.sizeChanged = true;
} else {