diff options
author | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-10-05 13:56:21 +0000 |
---|---|---|
committer | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-10-07 12:31:13 +0000 |
commit | 8428671a0acf47a4a90b6b1f39cf94401f1e5520 (patch) | |
tree | ea0a8bc79f8f0b3ab2f55e64e26df231149a62c7 /src/settings/reducers | |
parent | 0dec6c641fc11348f89a12680a087ccda1181f66 (diff) |
Fix form options
Diffstat (limited to 'src/settings/reducers')
-rw-r--r-- | src/settings/reducers/setting.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/reducers/setting.ts b/src/settings/reducers/setting.ts index 89bf1cb..804853f 100644 --- a/src/settings/reducers/setting.ts +++ b/src/settings/reducers/setting.ts @@ -2,6 +2,7 @@ import * as actions from '../actions'; import { JSONTextSettings, FormSettings, SettingSource, } from '../../shared/SettingData'; +import { DefaultSetting } from '../../shared/settings/Settings'; export interface State { source: SettingSource; @@ -13,6 +14,7 @@ export interface State { const defaultState: State = { source: SettingSource.JSON, json: JSONTextSettings.fromText(''), + form: FormSettings.fromSettings(DefaultSetting), error: '', }; |