mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 06:39:09 +03:00
fix ts
This commit is contained in:
1 parent
4c6970936d
commit
9d519a8a29
2 files changed
+3
-3
No files matched your search
@@ -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,
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user