diff options
Diffstat (limited to 'packages/integrations/markdoc/components/Renderer.astro')
-rw-r--r-- | packages/integrations/markdoc/components/Renderer.astro | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/integrations/markdoc/components/Renderer.astro b/packages/integrations/markdoc/components/Renderer.astro index 4fce72b04..6ae8ee850 100644 --- a/packages/integrations/markdoc/components/Renderer.astro +++ b/packages/integrations/markdoc/components/Renderer.astro @@ -2,8 +2,7 @@ import type { RenderableTreeNode } from '@markdoc/markdoc'; import type { AstroInstance } from 'astro'; import { validateComponentsProp } from '../dist/utils.js'; -import { createAstroNode } from './astroNode'; -import RenderNode from './RenderNode.astro'; +import { ComponentNode, createTreeNode } from './TreeNode.js'; type Props = { content: RenderableTreeNode; @@ -18,4 +17,4 @@ if (components) { } --- -<RenderNode node={createAstroNode(content, components)} /> +<ComponentNode treeNode={createTreeNode(content, components)} /> |