Update remix-ui-editor.tsx rm handleAcceptedCompletion

pull/4934/head
STetsing 7 months ago committed by Aniket
parent ec6db9b4b4
commit af87abb943
  1. 6
      libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

@ -620,12 +620,6 @@ export const EditorUI = (props: EditorUIProps) => {
}
}
function handleAcceptedCompletion(completion, type: 'full' | 'partial') {
// Handle the accepted completion here
// For example, you might want to send analytics, update UI, etc.
console.log(`Handling ${type} completion:`, completion);
}
function handleEditorDidMount(editor) {
editorRef.current = editor
defineAndSetTheme(monacoRef.current)

Loading…
Cancel
Save