compress images on web correctly

This commit is contained in:
Hailey
2024-02-14 14:35:36 -08:00
parent ecf28c5b08
commit 85e0bed196
@@ -35,7 +35,7 @@ export function SelectImageButton() {
path: image.path,
})
}
image = await compressIfNeeded(image)
image = await compressIfNeeded(image, 1000000)
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut)
setAvatar(prev => ({