Allow attaching typescript files to chat on web app

This commit is contained in:
Debanjum
2025-04-11 09:51:25 +05:30
parent 4d331e5ad2
commit b2390fa977
2 changed files with 6 additions and 2 deletions

View File

@@ -643,7 +643,7 @@ export const ChatInputArea = forwardRef<HTMLTextAreaElement, ChatInputProps>((pr
>
<input
type="file"
accept=".pdf,.doc,.docx,.txt,.md,.org,.jpg,.jpeg,.png,.webp,.py,.js,.json,.html,.css"
accept=".pdf,.doc,.docx,.txt,.md,.org,.jpg,.jpeg,.png,.webp,.py,.tsx,.js,.json,.html,.css"
multiple={true}
ref={fileInputRef}
onChange={handleFileChange}