Update remix-ui-editor.tsx rm handleAcceptedCompletion

pull/5370/head
STetsing 5 months ago committed by Aniket
parent 59f6ec6467
commit 84b74b68de
  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