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.
2 parents 7d1dfb6 + 4757bb7 commit 1259457Copy full SHA for 1259457
src/containers/audio-selector.jsx
@@ -43,7 +43,8 @@ class AudioSelector extends React.Component {
43
});
44
}
45
componentWillReceiveProps (newProps) {
46
- if (newProps.trimStart === this.props.trimStart) return;
+ const {trimStart, trimEnd} = this.props;
47
+ if (newProps.trimStart === trimStart && newProps.trimEnd === trimEnd) return;
48
this.setState({
49
trimStart: newProps.trimStart,
50
trimEnd: newProps.trimEnd
0 commit comments