Skip to content

Commit 40db67f

Browse files
committed
chore: improve code
1 parent 465cbea commit 40db67f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/compiler-core/src/transforms/vSlot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export type SlotFnBuilder = (
105105
loc: SourceLocation
106106
) => FunctionExpression
107107

108-
const buildClientSlotFn: SlotFnBuilder = (props, _vfor, children, loc) =>
108+
const buildClientSlotFn: SlotFnBuilder = (props, _vFor, children, loc) =>
109109
createFunctionExpression(
110110
props,
111111
children,

packages/compiler-ssr/src/transforms/ssrTransformComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const ssrTransformComponent: NodeTransform = (node, context) => {
145145
const wipEntries: WIPSlotEntry[] = []
146146
wipMap.set(node, wipEntries)
147147

148-
const buildSSRSlotFn: SlotFnBuilder = (props, _vfor, children, loc) => {
148+
const buildSSRSlotFn: SlotFnBuilder = (props, _vFor, children, loc) => {
149149
const param0 = (props && stringifyExpression(props)) || `_`
150150
const fn = createFunctionExpression(
151151
[param0, `_push`, `_parent`, `_scopeId`],

0 commit comments

Comments
 (0)