mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-03-14 11:52:33 +00:00
fix avatar upload on mobile
This commit is contained in:
parent
ee40ea8be0
commit
ba3608526d
@ -47,10 +47,7 @@ const ImageUploader: React.FC<ImageUploaderProps> = ({ children, onPick }) => {
|
||||
maxWidth: 1200,
|
||||
mimeType: 'image/webp',
|
||||
success(result) {
|
||||
const file = new File([result], image.name, {
|
||||
type: 'image/webp'
|
||||
})
|
||||
compressedFile = file
|
||||
compressedFile = result
|
||||
resolve()
|
||||
},
|
||||
error(err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user