diff options
Diffstat (limited to 'subprojects/frontend/src/editor/EditorArea.tsx')
-rw-r--r-- | subprojects/frontend/src/editor/EditorArea.tsx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/subprojects/frontend/src/editor/EditorArea.tsx b/subprojects/frontend/src/editor/EditorArea.tsx index 14294371..d4305610 100644 --- a/subprojects/frontend/src/editor/EditorArea.tsx +++ b/subprojects/frontend/src/editor/EditorArea.tsx | |||
@@ -134,13 +134,7 @@ function EditorArea(): JSX.Element { | |||
134 | return ( | 134 | return ( |
135 | <EditorParent | 135 | <EditorParent |
136 | className="dark" | 136 | className="dark" |
137 | sx={{ | 137 | showLineNumbers={editorStore.showLineNumbers} |
138 | '.cm-lineNumbers': editorStore.showLineNumbers | ||
139 | ? {} | ||
140 | : { | ||
141 | display: 'none !important', | ||
142 | }, | ||
143 | }} | ||
144 | ref={editorParentRef} | 138 | ref={editorParentRef} |
145 | /> | 139 | /> |
146 | ); | 140 | ); |