mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
fix(store): initialize editor value as empty string
This commit is contained in:
@@ -35,7 +35,7 @@ export const useCodeEditorStore = create<CodeEditorState>()(
|
||||
hydrated: false,
|
||||
language: DefaultEditorLanguageConfig.id,
|
||||
path: getPath(DefaultEditorLanguageConfig.id),
|
||||
value: "#include<stdio.h>",
|
||||
value: "",
|
||||
lspConfig: null,
|
||||
isLspEnabled: true,
|
||||
editorConfig: DefaultEditorOptionConfig,
|
||||
|
||||
Reference in New Issue
Block a user