Skip to content

Commit d4cd124

Browse files
committed
set monaco editor theme before highlighting loads
1 parent b1d6959 commit d4cd124

File tree

1 file changed

+2
-0
lines changed
  • frontend/src/app/collaboration/components

1 file changed

+2
-0
lines changed

frontend/src/app/collaboration/components/editor.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ function Collaboration({ room, language, code, setLanguage }: Readonly<Props>) {
134134
editor: { onDidChangeCursorPosition: (arg0: (e: any) => void) => void },
135135
monaco: any
136136
) {
137+
monaco.editor.setTheme("vs-dark");
138+
137139
editorRef.current = editor;
138140

139141
if (providerRef.current && docRef.current) {

0 commit comments

Comments
 (0)