Skip to content

Commit

Permalink
restore-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyam-Raghuwanshi committed Jan 17, 2025
1 parent 6b7c98b commit f9d40d4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ const RegistryImageWidget = (props) => {
: '';
});

/**
* Drop handler
* @method onDrop
* @param {array} files File objects
* @returns {undefined}
*/
const onDrop = (files) => {
const file = files[0];
if (!validateFileUploadSize(file, intl.formatMessage)) return;
Expand Down

0 comments on commit f9d40d4

Please sign in to comment.