Skip to content

Commit c6919bb

Browse files
authored
fixed lint error
1 parent 6124e0f commit c6919bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/comp/Cropper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function initCompCropper() {
2626
autoCrop: false,
2727
crop() {
2828
const canvas = cropper.getCroppedCanvas();
29-
result.src = canvas.toDataURL(); //The default format type is image/png.
29+
result.src = canvas.toDataURL();
3030
canvas.toBlob((blob) => {
3131
const file = new File([blob], filename, {type: 'image/png', lastModified: Date.now()});
3232
const container = new DataTransfer();

0 commit comments

Comments
 (0)