use 1000x1000 for image height in avatar cropper (#4453)
This commit is contained in:
@@ -181,8 +181,8 @@ export function StepProfile() {
|
||||
image = await openCropper({
|
||||
mediaType: 'photo',
|
||||
cropperCircleOverlay: true,
|
||||
height: image.height,
|
||||
width: image.width,
|
||||
height: 1000,
|
||||
width: 1000,
|
||||
path: image.path,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -303,8 +303,8 @@ let EditableUserAvatar = ({
|
||||
const croppedImage = await openCropper({
|
||||
mediaType: 'photo',
|
||||
cropperCircleOverlay: true,
|
||||
height: item.height,
|
||||
width: item.width,
|
||||
height: 1000,
|
||||
width: 1000,
|
||||
path: item.path,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user