From 1d800366a069cf59895bbd3aafd522c7990a7c28 Mon Sep 17 00:00:00 2001 From: Isaac Sanchez-Hawkins <266845420+isanchez404@users.noreply.github.com> Date: Fri, 8 May 2026 08:36:35 -0400 Subject: [PATCH] fix(chat): refresh memoized action handlers (#1147) Co-authored-by: Isaac Sanchez --- packages/ui/src/components/chat/ChatInput.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/ui/src/components/chat/ChatInput.tsx b/packages/ui/src/components/chat/ChatInput.tsx index 5ec2c0fe..d4e167ce 100644 --- a/packages/ui/src/components/chat/ChatInput.tsx +++ b/packages/ui/src/components/chat/ChatInput.tsx @@ -600,6 +600,9 @@ const ComposerActionButtons = React.memo(function ComposerActionButtons(props: C && prev.hasContent === next.hasContent && prev.currentSessionId === next.currentSessionId && prev.newSessionDraftOpen === next.newSessionDraftOpen + && prev.onPrimaryAction === next.onPrimaryAction + && prev.onQueueMessage === next.onQueueMessage + && prev.onAbort === next.onAbort )); const appendWithLineBreaks = (base: string, next: string): string => {