diff --git a/frontend/src/components/MessageInput.svelte b/frontend/src/components/MessageInput.svelte index 9373816..09935c5 100644 --- a/frontend/src/components/MessageInput.svelte +++ b/frontend/src/components/MessageInput.svelte @@ -102,7 +102,7 @@ unsubscribers.push(selectedChannel.subscribe(focusTextarea)); // Handle the setMessageInput event - unsubscribers.push(setMessageInputEvent.subscribe((value) => { + unsubscribers.push(setMessageInputEvent.watch((value) => { messageInput = value; focusTextarea(); }));