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}]`);