Skip to content

Commit 21d8b0a

Browse files
committed
fix(vue-jsx-vapor/volar): correct passing macros's options
1 parent 22fb370 commit 21d8b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-jsx-vapor/src/volar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const plugin: PluginReturn<Options | undefined, true> = createPlugin(
1414
options?.macros === false
1515
? []
1616
: options?.macros
17-
? jsxMacros(options.macros ? undefined : options.macros)(ctx)
17+
? jsxMacros(options.macros === true ? undefined : options.macros)(ctx)
1818
: [],
1919
].flat()
2020
},

0 commit comments

Comments
 (0)