forked from mystiq/hydrogen-web
No need to export renderPart
This commit is contained in:
parent
2a124d4195
commit
c34d574385
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ const formatFunction = {
|
||||||
newline: () => tag.br()
|
newline: () => tag.br()
|
||||||
};
|
};
|
||||||
|
|
||||||
export function renderPart(part) {
|
function renderPart(part) {
|
||||||
const f = formatFunction[part.type];
|
const f = formatFunction[part.type];
|
||||||
if (!f) {
|
if (!f) {
|
||||||
return text(`[unknown part type ${part.type}]`);
|
return text(`[unknown part type ${part.type}]`);
|
||||||
|
|
Loading…
Reference in a new issue