Skip to content
TypeScript

fix(web): correct pending question attachment message (#10599)

Dominic Roy12f560444256
diff --git a/apps/web/src/components/chat/ChatComposer.tsx b/apps/web/src/components/chat/ChatComposer.tsx
index a8d81006442..1e5fcf2c044 100644
--- a/apps/web/src/components/chat/ChatComposer.tsx
+++ b/apps/web/src/components/chat/ChatComposer.tsx
@@ -4182,7 +4182,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
if (pendingUserInputs.length > 0) {
toastManager.add({
type: "error",
- title: "Attach files after answering plan questions.",
+ title: "Attach files after answering pending questions.",
});
return;
}
@@ -4337,7 +4337,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
// ------------------------------------------------------------------
const onComposerPaste = (event: React.ClipboardEvent<HTMLElement>) => {
const files = Array.from(event.clipboardData.files);
- // Claimable pastes go through even when plan questions are pending or the
+ // Claimable pastes go through even when agent questions are pending or the
// composer is at its attachment limit: `addComposerAttachments` surfaces
// those as a toast and a thread error. An early return here would swallow
// the paste with no feedback.