diff --git a/packages/integrations/markdoc/src/index.ts b/packages/integrations/markdoc/src/index.ts index a08761c24..28b83c098 100644 --- a/packages/integrations/markdoc/src/index.ts +++ b/packages/integrations/markdoc/src/index.ts @@ -150,10 +150,7 @@ export default function markdocIntegration(legacyConfig?: any): AstroIntegration export const Content = createComponent({ async factory(result, props) { - const config = await getConfig({ - variables: props, - }); - + const config = await getConfig({ variables: props }); return renderComponent( result, Renderer.name,