From f4e622fdcbb6c327e809d4493a1b5eafeaa7b944 Mon Sep 17 00:00:00 2001 From: SARDONYX-sard <68905624+SARDONYX-sard@users.noreply.github.com> Date: Sun, 5 Nov 2023 15:21:46 +0900 Subject: [PATCH] fix(front): add default --- frontend/src/components/pages/settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/pages/settings.tsx b/frontend/src/components/pages/settings.tsx index 760c61e..810bf1f 100644 --- a/frontend/src/components/pages/settings.tsx +++ b/frontend/src/components/pages/settings.tsx @@ -33,7 +33,7 @@ export default function Settings() { useLocale(); const setEditorKeyMode = (editorMode: EditorMode) => { - setEditorMode(editorMode ?? ""); + setEditorMode(editorMode ?? "default"); }; return (