Skip to content

Commit ca1f763

Browse files
committed
fix(web): correct pending question attachment message
1 parent 5ec6f77 commit ca1f763

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/chat/ChatComposer.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4182,7 +4182,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
41824182
if (pendingUserInputs.length > 0) {
41834183
toastManager.add({
41844184
type: "error",
4185-
title: "Attach files after answering plan questions.",
4185+
title: "Attach files after answering pending questions.",
41864186
});
41874187
return;
41884188
}
@@ -4337,7 +4337,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
43374337
// ------------------------------------------------------------------
43384338
const onComposerPaste = (event: React.ClipboardEvent<HTMLElement>) => {
43394339
const files = Array.from(event.clipboardData.files);
4340-
// Claimable pastes go through even when plan questions are pending or the
4340+
// Claimable pastes go through even when agent questions are pending or the
43414341
// composer is at its attachment limit: `addComposerAttachments` surfaces
43424342
// those as a toast and a thread error. An early return here would swallow
43434343
// the paste with no feedback.

0 commit comments

Comments
 (0)