[WEB-2415] fix:remove input type to fix image upload (#5563)

* remove input type to fix things

* made the same changes in all locations
This commit is contained in:
Ketan Sharma 2024-09-09 20:12:15 +05:30 committed by GitHub
parent 4d38a10f8b
commit c44bf861e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -344,7 +344,7 @@ export const ImagePickerPopover: React.FC<Props> = observer((props) => {
</div>
)}
<input {...getInputProps()} type="text" />
<input {...getInputProps()} />
</div>
</div>
{fileRejections.length > 0 && (

View file

@ -144,7 +144,7 @@ export const UserImageUploadModal: React.FC<Props> = observer((props) => {
</div>
)}
<input {...getInputProps()} type="text" />
<input {...getInputProps()} />
</div>
</div>
{fileRejections.length > 0 && (

View file

@ -150,7 +150,7 @@ export const WorkspaceImageUploadModal: React.FC<Props> = observer((props) => {
</div>
)}
<input {...getInputProps()} type="text" />
<input {...getInputProps()}/>
</div>
</div>
{fileRejections.length > 0 && (