Skip to content

Commit 69e49c9

Browse files
chore(website): modelina playground theme rendering fixed (#2164)
1 parent b4b84db commit 69e49c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: modelina-website/src/components/MonacoEditorWrapper.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export default function MonacoEditorWrapper({
5454
},
5555
rules: [{ token: '', background: '#252f3f' }]
5656
});
57+
monacoInstance.editor.setTheme('asyncapi-theme'); // Apply theme immediately
5758
}
5859
}, [monacoInstance]);
5960

0 commit comments

Comments
 (0)