Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsilverstein committed Jan 13, 2025
1 parent 605bf32 commit 571d4ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/editor/src/utils/media-upload/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export default function mediaUpload( {
unlockPostSaving,
} = dispatch( editorStore );

const wpAllowedMimeTypes = getEditorSettings().allowedMimeTypes;
const typesNotSupportedByServer = getEditorSettings().typesNotSupportedByServer;
const { wpAllowedMimeTypes, typesNotSupportedByServer } =
getEditorSettings();
const lockKey = `image-upload-${ uuid() }`;
let imageIsUploading = false;
maxUploadFileSize =
Expand Down

0 comments on commit 571d4ef

Please sign in to comment.