aboutsummaryrefslogtreecommitdiff
path: root/src/settings/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/actions')
-rw-r--r--src/settings/actions/setting.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings/actions/setting.ts b/src/settings/actions/setting.ts
index 589ec36..93ca5f8 100644
--- a/src/settings/actions/setting.ts
+++ b/src/settings/actions/setting.ts
@@ -26,6 +26,7 @@ const save = async(data: SettingData): Promise<actions.SettingAction> => {
return set(data);
};
+
const switchToForm = (json: JSONTextSettings): actions.SettingAction => {
try {
// toSettings exercise validation