mirror of
https://github.com/urbit/shrub.git
synced 2024-11-27 18:34:48 +03:00
ChatEditor: removing unused code preventing slashes
This commit is contained in:
parent
8706f8707f
commit
af896989f0
@ -177,9 +177,6 @@ const ChatEditor = React.forwardRef<CodeMirrorShim, ChatEditorProps>(({ inCodeMo
|
||||
}, [inCodeMode, placeholder]);
|
||||
|
||||
function messageChange(editor, data, value) {
|
||||
if(value.endsWith('/')) {
|
||||
editor.showHint(['test', 'foo']);
|
||||
}
|
||||
if (message !== '' && value == '') {
|
||||
setMessage(value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user