mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
No need to export renderPart
This commit is contained in:
parent
2a124d4195
commit
c34d574385
@ -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}]`);
|
||||
|
Loading…
Reference in New Issue
Block a user