From 93ccb4a29e21fcdbc2df661ad0be94766f2ed403 Mon Sep 17 00:00:00 2001 From: Sunny Ripert Date: Sat, 5 Nov 2022 13:43:47 +0100 Subject: [PATCH] [Glitch] Fix JavaScript console error on upload editing status Port c95d9aab56dcde8c183f15d565cd1e8746d42c48 to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/features/compose/components/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/compose/components/upload.js b/app/javascript/flavours/glitch/features/compose/components/upload.js index ade6f0437a0..32638342ca7 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 => {