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