Skip to content

Commit 436c500

Browse files
committedFeb 12, 2022
fix(compiler-ssr): no need to inject resolveDirective calls for setup custom directives
1 parent 0342fae commit 436c500

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎packages/compiler-ssr/src/transforms/ssrTransformElement.ts

-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@ export function buildSSRProps(
338338
}
339339
if (directives.length) {
340340
for (const dir of directives) {
341-
context.directives.add(dir.name)
342341
mergePropsArgs.push(
343342
createCallExpression(context.helper(SSR_GET_DIRECTIVE_PROPS), [
344343
`_ctx`,

0 commit comments

Comments
 (0)