Rename valueOf to fromJSON

This commit is contained in:
Shin'ya UEOKA 2019-10-07 12:02:02 +00:00
parent 16352502cf
commit 532eeb5a1d
9 changed files with 30 additions and 30 deletions

View file

@ -133,7 +133,7 @@ class SettingsComponent extends React.Component<Props> {
let data = new SettingData({
source: this.props.source,
form: (this.props.form as FormSettings).buildWithSearch(
FormSearch.valueOf(value)),
FormSearch.fromJSON(value)),
});
this.props.dispatch(settingActions.set(data));
}