fix: now phone users can attach any media, not just photos
This commit is contained in:
@@ -165,10 +165,10 @@ function Composer({ onSend, onTyping }: ComposerProps) {
|
||||
{uploadError && <p className="mb-1.5 px-1 text-[11px] text-danger">{uploadError}</p>}
|
||||
|
||||
<div className="bevel-in flex items-end gap-1 bg-surface p-1">
|
||||
<input
|
||||
<input
|
||||
ref={fileInputRef}
|
||||
type="file"
|
||||
accept="image/*,*"
|
||||
accept="*/*"
|
||||
className="hidden"
|
||||
onChange={(event) => {
|
||||
const file = event.target.files?.[0]
|
||||
|
||||
Reference in New Issue
Block a user