We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef1877b commit 27ca1d7Copy full SHA for 27ca1d7
ScrollableTabBar.js
@@ -192,7 +192,7 @@ const ScrollableTabBar = React.createClass({
192
193
componentWillReceiveProps(nextProps) {
194
// If the tabs change, force the width of the tabs container to be recalculated
195
- if (JSON.stringify(this.props.tabs) != JSON.stringify(nextProps.tabs) && this.state._containerWidth) {
+ if (JSON.stringify(this.props.tabs) !== JSON.stringify(nextProps.tabs) && this.state._containerWidth) {
196
this.setState({ _containerWidth: null, });
197
}
198
},
0 commit comments