aboutsummaryrefslogtreecommitdiff
path: root/src/settings/reducers/setting.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/reducers/setting.ts')
-rw-r--r--src/settings/reducers/setting.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings/reducers/setting.ts b/src/settings/reducers/setting.ts
index c4a21c7..89bf1cb 100644
--- a/src/settings/reducers/setting.ts
+++ b/src/settings/reducers/setting.ts
@@ -1,18 +1,18 @@
import * as actions from '../actions';
import {
- JSONSettings, FormSettings, SettingSource,
+ JSONTextSettings, FormSettings, SettingSource,
} from '../../shared/SettingData';
export interface State {
source: SettingSource;
- json?: JSONSettings;
+ json?: JSONTextSettings;
form?: FormSettings;
error: string;
}
const defaultState: State = {
source: SettingSource.JSON,
- json: JSONSettings.valueOf(''),
+ json: JSONTextSettings.fromText(''),
error: '',
};