Skip to content

Commit b10e421

Browse files
committed
fix: test
1 parent 1b46495 commit b10e421

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compiler-vapor/__tests__/transforms/__snapshots__/vFor.spec.ts.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ export function render(_ctx) {
9393
const n0 = _createFor(() => (_ctx.list), (_for_item0, _for_key0) => {
9494
const n2 = t0()
9595
const x2 = _child(n2)
96-
_renderEffect(() => _setText(x2, _toDisplayString(_for_item0.value.id + _getRestElement(_for_item0.value, ["id"]) + _ctx.index)))
96+
_renderEffect(() => _setText(x2, _toDisplayString(_for_item0.value.id + _getRestElement(_for_item0.value, ["id"]) + _for_key0.value)))
9797
return n2
98-
}, ({ id, ...other }, key) => (id))
98+
}, ({ id, ...other }, index) => (id))
9999
return n0
100100
}"
101101
`;

0 commit comments

Comments
 (0)