u
This commit is contained in:
@@ -199,9 +199,9 @@ export default class ChatDrawer extends PureComponent {
|
||||
activeTurns: state.activeTurns || [],
|
||||
};
|
||||
if (state.pendingInput != null) {
|
||||
patch.inputText = state.pendingInput;
|
||||
patch.stagedAttachments = [];
|
||||
patch.stagedReferences = [];
|
||||
patch.inputText = this.state.inputText
|
||||
? `${this.state.inputText}\n\n${state.pendingInput}`
|
||||
: state.pendingInput;
|
||||
queueMicrotask(() => {
|
||||
if (chatAutomat.state.pendingInput != null) {
|
||||
chatAutomat.setState({ pendingInput: null });
|
||||
|
||||
Reference in New Issue
Block a user