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.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
Remove redundant comments in ChatInput component to enhance code clarity
Salman-Ahamedd43b601e37dd
diff --git a/packages/app/src/react/features/ai-chat/components/input.tsx b/packages/app/src/react/features/ai-chat/components/input.tsxindex 3fdb30e4..fb4452aa 100644--- a/packages/app/src/react/features/ai-chat/components/input.tsx+++ b/packages/app/src/react/features/ai-chat/components/input.tsx@@ -247,14 +247,6 @@ export const ChatInput = forwardRef<ChatInputRef, ChatInputProps>(// Fallback: let browser handle it normally if file creation failsreturn;}- } else {- // For normal text, let the browser handle it naturally- // This preserves all default browser behavior including:- // - Natural cursor positioning- // - Text selection replacement- // - Undo/redo support- // - Native textarea behavior- return;}},[handleFileDrop],