Skip to content

Commit

Permalink
update dependencies and adjust settings form code
Browse files Browse the repository at this point in the history
  • Loading branch information
scholtzm committed Dec 20, 2016
1 parent c37ce55 commit a744bae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"customize-semantic": "gulp customize-semantic"
},
"dependencies": {
"debug": "^2.3.3",
"flux": "^3.1.0",
"debug": "^2.4.5",
"flux": "^3.1.2",
"localforage": "^1.4.3",
"lodash": "^4.17.2",
"object-assign": "^4.1.0",
Expand All @@ -39,17 +39,17 @@
"react-favicon": "0.0.5",
"react-notification-system": "^0.2.10",
"react-router": "^3.0.0",
"react-youtube": "^7.2.0",
"react-youtube": "^7.3.0",
"semantic-ui-css": "^2.2.4",
"semantic-ui-react": "^0.61.10",
"semantic-ui-react": "^0.63.0",
"semver": "^5.3.0",
"shortid": "^2.2.6"
},
"devDependencies": {
"del": "^2.2.2",
"gh-pages": "^0.12.0",
"gulp": "github:gulpjs/gulp#4.0",
"gulp-clean-css": "^2.0.13",
"gulp-clean-css": "^2.3.2",
"gulp-rename": "^1.2.2",
"gulp-shell": "^0.5.2",
"gulp-transform": "^1.1.0",
Expand Down
6 changes: 3 additions & 3 deletions src/components/settings/settings-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class SettingsForm extends Component {
settings: SettingsStore.get()
}

_handleSubmit(e, serializedForm) {
_handleSubmit(e, { formData }) {
e.preventDefault();
this.setState(serializedForm);
setSettings(serializedForm);
this.setState(formData);
setSettings(formData);

addNotification({
title: 'Settings',
Expand Down

0 comments on commit a744bae

Please sign in to comment.