Fixed text input
This commit is contained in:
@@ -64,7 +64,10 @@ const App = () => {
|
||||
|
||||
const handleSendInput = () => {
|
||||
if (input.trim()) {
|
||||
sendMessage(ClientMessageType.SEND_INPUT, input);
|
||||
sendMessage({
|
||||
"type": ClientMessageType.SEND_INPUT,
|
||||
"input": input
|
||||
});
|
||||
setInput('');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user