Fix JavaScript console error on upload editing status (#19769)

This commit is contained in:
Sunny Ripert 2022-11-05 13:43:47 +01:00 committed by GitHub
parent 9616f5bb22
commit c95d9aab56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ export default class Upload extends ImmutablePureComponent {
media: ImmutablePropTypes.map.isRequired,
onUndo: PropTypes.func.isRequired,
onOpenFocalPoint: PropTypes.func.isRequired,
isEditingStatus: PropTypes.func.isRequired,
isEditingStatus: PropTypes.bool.isRequired,
};
handleUndoClick = e => {