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 43629707c9
commit 343099eafa

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 => {