Skip to content

Commit

Permalink
translate to english (All-Hands-AI#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
sa64r committed Apr 5, 2024
1 parent fad51a6 commit 2855959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/CodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -25,7 +25,7 @@ function CodeEditor(): JSX.Element {
},
});

// 应用自定义主题
// 应用自定义主题 - English: apply custom theme
monaco.editor.setTheme("my-theme");
};

Expand Down

0 comments on commit 2855959

Please sign in to comment.