From b3c03c9b68f0776f06c86c2a3614bfd09d8a35f5 Mon Sep 17 00:00:00 2001 From: Jaiwanth Date: Mon, 9 Aug 2021 12:41:41 +0530 Subject: [PATCH] Fix lint errors --- src/components/views/messages/MFileBody.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/views/messages/MFileBody.tsx b/src/components/views/messages/MFileBody.tsx index 4fecaf0a5c..9c4a09e695 100644 --- a/src/components/views/messages/MFileBody.tsx +++ b/src/components/views/messages/MFileBody.tsx @@ -277,13 +277,13 @@ export default class MFileBody extends React.Component { ); } else if (contentUrl) { const downloadProps = { - target: "_blank", - rel: "noreferrer noopener", + target: "_blank", + rel: "noreferrer noopener", - // We set the href regardless of whether or not we intercept the download - // because we don't really want to convert the file to a blob eagerly, and - // still want "open in new tab" and "save link as" to work. - href: contentUrl, + // We set the href regardless of whether or not we intercept the download + // because we don't really want to convert the file to a blob eagerly, and + // still want "open in new tab" and "save link as" to work. + href: contentUrl, }; // Blobs can only have up to 500mb, so if the file reports as being too large then