From 84b74b68ded79440811e0d4b1602ad54c3b2e08a Mon Sep 17 00:00:00 2001 From: STetsing <41009393+STetsing@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:13:45 +0200 Subject: [PATCH] Update remix-ui-editor.tsx rm handleAcceptedCompletion --- libs/remix-ui/editor/src/lib/remix-ui-editor.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx index c3e7e1cd88..f01b6e8b7e 100644 --- a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx +++ b/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)