This commit is contained in:
Saxon Fletcher committed 2025-02-12 13:16:00 +10:00
1 parent 4c6970936d
commit 9d519a8a29
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -244,8 +244,8 @@ const AIEditor = ({
language={language}
original={diffValue.original}
modified={diffValue.modified}
onMount={(editor) => {
diffEditorRef.current = editor as monacoEditor.IStandaloneDiffEditor
onMount={(editor: monacoEditor.IStandaloneDiffEditor) => {
diffEditorRef.current = editor
setIsDiffEditorMounted(true)
}}
options={{
@@ -255,7 +255,7 @@ export const EditorPanel = ({ onChange }: EditorPanelProps) => {
wordWrap: 'on',
lineNumbers: 'on',
folding: false,
padding: { top: 4, right: 16 },
padding: { top: 4 },
lineNumbersMinChars: 3,
}}
/>