Fixing bug when writing settings to state.

This commit is contained in:
David Jay
2016-12-01 20:26:48 -05:00
parent 827b94001a
commit a91b73e94a
@@ -26,6 +26,7 @@ class Configure extends React.Component {
};
this.saveSettings = this.saveSettings.bind(this);
this.onChangeWordlist = this.onChangeWordlist.bind(this);
this.onSettingUpdate = this.onSettingUpdate.bind(this);
}
componentWillMount () {
@@ -52,8 +53,8 @@ class Configure extends React.Component {
}
onSettingUpdate (setting) {
this.setState({changed: true})
this.props.dispatch(updateSettings(setting))
this.setState({changed: true});
this.props.dispatch(updateSettings(setting));
}
getSection (section) {