diff --git a/src/apps/chat/AppChat.tsx b/src/apps/chat/AppChat.tsx index 3bd3635c7..c8c030849 100644 --- a/src/apps/chat/AppChat.tsx +++ b/src/apps/chat/AppChat.tsx @@ -228,6 +228,8 @@ export function AppChat() { return; case 'mode-beam': + if (chatCommand.isError) + return cHandler.messagesReplace(history); // remove '/beam ', as we want to be a user chat message Object.assign(lastMessage, { text: chatCommand.params || '' }); cHandler.messagesReplace(history);