diff --git a/apps/web/src/components/chat/ComposerPrimaryActions.tsx b/apps/web/src/components/chat/ComposerPrimaryActions.tsx index a4a8993a7036e..afbe76a830fa5 100644 --- a/apps/web/src/components/chat/ComposerPrimaryActions.tsx +++ b/apps/web/src/components/chat/ComposerPrimaryActions.tsx @@ -186,6 +186,7 @@ export const ComposerPrimaryActions = memo(function ComposerPrimaryActions({ disabled={ !canOperateThread || isEnvironmentUnavailable || + isSendDisabled || pendingAction.isResponding || (pendingAction.isLastQuestion ? !pendingAction.isComplete : !pendingAction.canAdvance) } diff --git a/apps/web/src/components/ui/textarea.tsx b/apps/web/src/components/ui/textarea.tsx index 681d1f043f31f..116d0d663fb82 100644 --- a/apps/web/src/components/ui/textarea.tsx +++ b/apps/web/src/components/ui/textarea.tsx @@ -9,7 +9,13 @@ type TextareaProps = React.ComponentProps<"textarea"> & { unstyled?: boolean; }; -function Textarea({ className, size = "default", unstyled = false, ...props }: TextareaProps) { +function Textarea({ + className, + size = "default", + unstyled = false, + rows, + ...props +}: TextareaProps) { return ( (