fix: theme flicker on code editor

This commit is contained in:
Jessica Boezwinkle
2023-01-05 10:03:19 +00:00
parent 06fd7e7776
commit 6567454ae4

View File

@@ -22,6 +22,7 @@ const CodeEditor: React.FC<Props> = (props) => {
<Editor
height="35vh"
className={classes}
theme={theme === 'dark' ? 'vs-dark' : 'vs'}
options={
{
detectIndentation: true,