aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/editor/EditorArea.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-08-12 20:20:44 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-08-12 20:20:44 +0200
commiteaa64728b7016aab3a901e8886652f0612adb22c (patch)
tree48b599a99564fff9ef0c8f33ec9ff1a1f25415f9 /subprojects/frontend/src/editor/EditorArea.tsx
parentchore(deps): bump dependencies (diff)
downloadrefinery-eaa64728b7016aab3a901e8886652f0612adb22c.tar.gz
refinery-eaa64728b7016aab3a901e8886652f0612adb22c.tar.zst
refinery-eaa64728b7016aab3a901e8886652f0612adb22c.zip
refactor(frontend): EditorParent line numbers
Diffstat (limited to 'subprojects/frontend/src/editor/EditorArea.tsx')
-rw-r--r--subprojects/frontend/src/editor/EditorArea.tsx8
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 );