Skip to content

Commit

Permalink
Update web_src/js/features/comp/Cropper.ts
Browse files Browse the repository at this point in the history
Co-authored-by: silverwind <[email protected]>
  • Loading branch information
kerwin612 and silverwind authored Nov 27, 2024
1 parent 5f893c3 commit 08d4c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/js/features/comp/Cropper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type CropperOpts = {
fileInput: HTMLInputElement,
}

export async function initCompCropper({container, fileInput, imageSource}:CropperOpts) {
export async function initCompCropper({container, fileInput, imageSource}: CropperOpts) {
const {default: Cropper} = await import(/* webpackChunkName: "cropperjs" */'cropperjs');
let currentFileName = '', currentFileLastModified = 0;
const cropper = new Cropper(imageSource, {
Expand Down

0 comments on commit 08d4c92

Please sign in to comment.