From cba92c0e90fbf7e1030be98d3d782b5d2bc0be6b Mon Sep 17 00:00:00 2001 From: Germain Date: Thu, 9 Dec 2021 17:33:00 +0000 Subject: [PATCH] Remove unused return (#7321) --- src/ContentMessages.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ContentMessages.tsx b/src/ContentMessages.tsx index a5a34c0099..61d21e047a 100644 --- a/src/ContentMessages.tsx +++ b/src/ContentMessages.tsx @@ -539,8 +539,6 @@ export default class ContentMessages { return (noRelation || matchingRelation) && !upload.canceled; }); - - return this.inprogress.filter(u => !u.canceled); } cancelUpload(promise: Promise, matrixClient: MatrixClient) {