about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/compose/components/upload.js
diff options
context:
space:
mode:
authorSunny Ripert <sunny@sunfox.org>2022-11-05 13:43:47 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-11-06 10:46:03 +0100
commit93ccb4a29e21fcdbc2df661ad0be94766f2ed403 (patch)
tree80a465c2390582629b703677b6664dd43df05664 /app/javascript/flavours/glitch/features/compose/components/upload.js
parent81334e2bfbe2885c113d96eb51615dfe70417c87 (diff)
[Glitch] Fix JavaScript console error on upload editing status
Port c95d9aab56dcde8c183f15d565cd1e8746d42c48 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/components/upload.js')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/upload.js b/app/javascript/flavours/glitch/features/compose/components/upload.js
index ade6f0437..32638342c 100644
--- a/app/javascript/flavours/glitch/features/compose/components/upload.js
+++ b/app/javascript/flavours/glitch/features/compose/components/upload.js
@@ -18,7 +18,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 => {