Skip to content

Commit 9e41fc6

Browse files
only21milclaude
andcommitted
fix(web): keep the attachment-only Message not sent toast until dismissed
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 24d26bf commit 9e41fc6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/web/src/components/chat/useComposerSend.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,8 @@ export function useComposerSend(input: ComposerSendInput) {
15491549
type: "error",
15501550
title: "Message not sent",
15511551
description: "Your new draft was kept.",
1552-
...(copyFailedMessage ? { timeout: 0, actionProps: copyFailedMessage } : {}),
1552+
timeout: 0,
1553+
...(copyFailedMessage ? { actionProps: copyFailedMessage } : {}),
15531554
}),
15541555
);
15551556
}

0 commit comments

Comments
 (0)