Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Update Footer Component to Use chatInputRef Prop

Salman-Ahamedb5e8752acacf
diff --git a/packages/app/src/react/features/ai-chat/pages/ai-chat.tsx b/packages/app/src/react/features/ai-chat/pages/ai-chat.tsx
index b8b3d6d6..e0149ea5 100644
--- a/packages/app/src/react/features/ai-chat/pages/ai-chat.tsx
+++ b/packages/app/src/react/features/ai-chat/pages/ai-chat.tsx
@@ -190,7 +190,7 @@ const AIChat = () => {
smartScrollToBottom={smartScrollToBottom}
/>
<Footer
- ref={chatInputRef}
+ chatInputRef={chatInputRef}
clearError={clearError}
uploadError={uploadError}
scrollToBottom={scrollToBottom}