mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 14:34:25 +01:00
update
This commit is contained in:
@@ -39,7 +39,7 @@ const useResizedImage = ({
|
||||
|
||||
ctx.drawImage(img, 0, 0, img.width, img.height, 0, 0, dw, dh);
|
||||
|
||||
const dataUrl = canvas.toDataURL('image/jpeg', encoderOption);
|
||||
const dataUrl = canvas.toDataURL('image/jpeg');
|
||||
|
||||
setResizedImage(dataUrl);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user