diff options
author | Sunny Ripert <sunny@sunfox.org> | 2022-11-05 13:43:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 13:43:47 +0100 |
commit | c95d9aab56dcde8c183f15d565cd1e8746d42c48 (patch) | |
tree | 0a8a08484b676164f82f16e51f04485eaea8c9d1 /app | |
parent | 9616f5bb2248b4bf8f1e51130af1f19a94abf6db (diff) |
Fix JavaScript console error on upload editing status (#19769)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/features/compose/components/upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/upload.js b/app/javascript/mastodon/features/compose/components/upload.js index 44bf9a24a..0b2dcf08f 100644 --- a/app/javascript/mastodon/features/compose/components/upload.js +++ b/app/javascript/mastodon/features/compose/components/upload.js @@ -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 => { |