Fixed text input

This commit is contained in:
2024-11-11 13:24:47 +01:00
parent 970414e56d
commit 0d98a42df6

View File

@@ -64,7 +64,10 @@ const App = () => {
const handleSendInput = () => {
if (input.trim()) {
sendMessage(ClientMessageType.SEND_INPUT, input);
sendMessage({
"type": ClientMessageType.SEND_INPUT,
"input": input
});
setInput('');
}
};