fix: Correct handling of chatWithDevChat event
- Updated InputMessage component to set input value and trigger send event - Replaced chat.commonMessage call with direct input manipulation - Modified event handling to ensure proper dispatch of chat messages
This commit is contained in:
parent
d9703da439
commit
9fcf526ec3
@ -173,7 +173,8 @@ const InputMessage = observer((props: any) => {
|
||||
messageUtil.registerHandler(
|
||||
"chatWithDevChat",
|
||||
(message: { command: string; message: string }) => {
|
||||
chat.commonMessage(message.message, []);
|
||||
input.setValue(message.message);
|
||||
handleSendClick(event as any);
|
||||
}
|
||||
);
|
||||
messageUtil.registerHandler(
|
||||
|
Loading…
x
Reference in New Issue
Block a user