diff --git a/packages/compiler-ssr/src/transforms/ssrTransformElement.ts b/packages/compiler-ssr/src/transforms/ssrTransformElement.ts index 08b7f4ad..32991ed8 100644 --- a/packages/compiler-ssr/src/transforms/ssrTransformElement.ts +++ b/packages/compiler-ssr/src/transforms/ssrTransformElement.ts @@ -338,7 +338,6 @@ export function buildSSRProps( } if (directives.length) { for (const dir of directives) { - context.directives.add(dir.name) mergePropsArgs.push( createCallExpression(context.helper(SSR_GET_DIRECTIVE_PROPS), [ `_ctx`,