[ci] format
This commit is contained in:
parent
86273b5881
commit
e8b3c886a7
1 changed files with 4 additions and 3 deletions
|
@ -26,9 +26,10 @@ export const ComponentNode = createComponent({
|
|||
factory(result: any, { treeNode }: { treeNode: TreeNode }) {
|
||||
if (treeNode.type === 'text') return render`${treeNode.content}`;
|
||||
const slots = {
|
||||
default: () => render`${treeNode.children.map((child) =>
|
||||
renderComponent(result, 'ComponentNode', ComponentNode, { treeNode: child })
|
||||
)}`,
|
||||
default: () =>
|
||||
render`${treeNode.children.map((child) =>
|
||||
renderComponent(result, 'ComponentNode', ComponentNode, { treeNode: child })
|
||||
)}`,
|
||||
};
|
||||
if (treeNode.type === 'component') {
|
||||
return renderComponent(
|
||||
|
|
Loading…
Reference in a new issue