Sagar Shah 1 год назад
Родитель
Сommit
2855959c76
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      frontend/src/components/CodeEditor.tsx

+ 2 - 2
frontend/src/components/CodeEditor.tsx

@@ -15,7 +15,7 @@ function CodeEditor(): JSX.Element {
     editor: editor.IStandaloneCodeEditor,
     monaco: Monaco,
   ) => {
-    // 定义一个自定义主题
+    // 定义一个自定义主题 - English: Define a custom theme
     monaco.editor.defineTheme("my-theme", {
       base: "vs-dark",
       inherit: true,
@@ -25,7 +25,7 @@ function CodeEditor(): JSX.Element {
       },
     });
 
-    // 应用自定义主题
+    // 应用自定义主题 - English: apply custom theme
     monaco.editor.setTheme("my-theme");
   };