From 099080ad5d8944a92a531484e5796cf785ed02d0 Mon Sep 17 00:00:00 2001 From: yash-rajpal Date: Tue, 11 Oct 2022 00:17:54 +0530 Subject: [PATCH 1/2] TC-64 remove fontScale --- .../MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/client/views/room/MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx b/apps/meteor/client/views/room/MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx index f2cfc25db928..5a0bb983ab86 100644 --- a/apps/meteor/client/views/room/MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx +++ b/apps/meteor/client/views/room/MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx @@ -6,7 +6,7 @@ import type { PreviewMetadata } from './PreviewList'; const OEmbedHtmlPreview = ({ html, ...props }: PreviewMetadata): ReactElement => ( - {html && } + {html && } ); From 322315b230a42b0bac0dae150886971d0af5c87f Mon Sep 17 00:00:00 2001 From: yash-rajpal Date: Tue, 11 Oct 2022 00:40:08 +0530 Subject: [PATCH 2/2] oops: fix lint --- .../MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/meteor/client/views/room/MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx b/apps/meteor/client/views/room/MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx index 5a0bb983ab86..6d2fae70eef2 100644 --- a/apps/meteor/client/views/room/MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx +++ b/apps/meteor/client/views/room/MessageList/components/UrlPreview/OEmbedHtmlPreview.tsx @@ -5,9 +5,7 @@ import OEmbedCollapseable from './OEmbedCollapseable'; import type { PreviewMetadata } from './PreviewList'; const OEmbedHtmlPreview = ({ html, ...props }: PreviewMetadata): ReactElement => ( - - {html && } - + {html && } ); export default OEmbedHtmlPreview;