Skip to content

Commit

Permalink
Fix JavaScript console error on upload editing status (mastodon#19769)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny authored Nov 5, 2022
1 parent 9616f5b commit c95d9aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit c95d9aa

Please sign in to comment.