diff options
author | 2023-03-21 12:20:02 +0000 | |
---|---|---|
committer | 2023-03-21 12:20:02 +0000 | |
commit | e8b3c886a7579d6f4c307edcc3daf9eb57ad502f (patch) | |
tree | 885b788502543654a8769cd0f05a6838def0f003 | |
parent | 86273b5881cc61ebee11d40280b4c0aba8f4bb2e (diff) | |
download | astro-e8b3c886a7579d6f4c307edcc3daf9eb57ad502f.tar.gz astro-e8b3c886a7579d6f4c307edcc3daf9eb57ad502f.tar.zst astro-e8b3c886a7579d6f4c307edcc3daf9eb57ad502f.zip |
[ci] format
-rw-r--r-- | packages/integrations/markdoc/components/TreeNode.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/integrations/markdoc/components/TreeNode.ts b/packages/integrations/markdoc/components/TreeNode.ts index 36fd63fee..b9b4c5c4d 100644 --- a/packages/integrations/markdoc/components/TreeNode.ts +++ b/packages/integrations/markdoc/components/TreeNode.ts @@ -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( |