No need to export renderPart

This commit is contained in:
RMidhunSuresh 2021-12-21 17:54:58 +05:30
parent 2a124d4195
commit c34d574385

View file

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