summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bholmesdev <bholmesdev@users.noreply.github.com> 2023-03-21 12:20:02 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2023-03-21 12:20:02 +0000
commite8b3c886a7579d6f4c307edcc3daf9eb57ad502f (patch)
tree885b788502543654a8769cd0f05a6838def0f003
parent86273b5881cc61ebee11d40280b4c0aba8f4bb2e (diff)
downloadastro-e8b3c886a7579d6f4c307edcc3daf9eb57ad502f.tar.gz
astro-e8b3c886a7579d6f4c307edcc3daf9eb57ad502f.tar.zst
astro-e8b3c886a7579d6f4c307edcc3daf9eb57ad502f.zip
[ci] format
-rw-r--r--packages/integrations/markdoc/components/TreeNode.ts7
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(