mirror of
https://github.com/wassname/talk.git
synced 2026-07-08 08:02:26 +08:00
Going back to previous setting state as I do not want it to re-render.
This commit is contained in:
@@ -49,25 +49,19 @@ class ConfigureStreamContainer extends Component {
|
||||
});
|
||||
}, 300);
|
||||
|
||||
this.props.loadAsset(this.props.data.asset);
|
||||
// this.props.loadAsset(this.props.data.asset);
|
||||
}
|
||||
}
|
||||
|
||||
handleChange (e) {
|
||||
if (e.target && e.target.id === 'qboxenable') {
|
||||
this.setState({
|
||||
questionBoxEnable: e.target.checked
|
||||
});
|
||||
this.state.settings.questionBoxEnable = e.target.checked;
|
||||
}
|
||||
if (e.target && e.target.id === 'qboxcontent') {
|
||||
this.setState({
|
||||
questionBoxContent: e.target.value
|
||||
});
|
||||
this.state.settings.questionBoxContent = e.target.value;
|
||||
}
|
||||
if (e.target && e.target.id === 'plinksenable') {
|
||||
this.setState({
|
||||
premodLinksEnable: e.target.value
|
||||
});
|
||||
this.state.settings.premodLinksEnable = e.target.value;
|
||||
}
|
||||
|
||||
this.setState({
|
||||
|
||||
Reference in New Issue
Block a user