Skip to content

Commit

Permalink
Code Quality: Fix preloadImage function signature (#12468)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedmonkey committed Oct 13, 2022
1 parent 9972a2d commit c33f0ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function EditorSettings() {
return;
}

imagePromises.push(preloadImage(URL.createObjectURL(file)));
imagePromises.push(preloadImage({ src: URL.createObjectURL(file) }));
});

if (!allFileSizesWithinMaxUpload) {
Expand Down

0 comments on commit c33f0ae

Please sign in to comment.