From c34d574385dd2431c881511bd9fffd3a7bd453c7 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 21 Dec 2021 17:54:58 +0530 Subject: [PATCH] No need to export renderPart --- src/platform/web/ui/session/room/timeline/TextMessageView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/session/room/timeline/TextMessageView.js b/src/platform/web/ui/session/room/timeline/TextMessageView.js index 2ed495dd..574016cf 100644 --- a/src/platform/web/ui/session/room/timeline/TextMessageView.js +++ b/src/platform/web/ui/session/room/timeline/TextMessageView.js @@ -122,7 +122,7 @@ const formatFunction = { newline: () => tag.br() }; -export function renderPart(part) { +function renderPart(part) { const f = formatFunction[part.type]; if (!f) { return text(`[unknown part type ${part.type}]`);