From af896989f07589569b2b30e72c2919ece2b212d5 Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Wed, 14 Jul 2021 11:16:46 -0500 Subject: [PATCH] ChatEditor: removing unused code preventing slashes --- pkg/interface/src/views/apps/chat/components/ChatEditor.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/interface/src/views/apps/chat/components/ChatEditor.tsx b/pkg/interface/src/views/apps/chat/components/ChatEditor.tsx index 7f3e4a4c1a..1149735ae1 100644 --- a/pkg/interface/src/views/apps/chat/components/ChatEditor.tsx +++ b/pkg/interface/src/views/apps/chat/components/ChatEditor.tsx @@ -177,9 +177,6 @@ const ChatEditor = React.forwardRef(({ inCodeMo }, [inCodeMode, placeholder]); function messageChange(editor, data, value) { - if(value.endsWith('/')) { - editor.showHint(['test', 'foo']); - } if (message !== '' && value == '') { setMessage(value); }