Skip to content

Commit e498b26

Browse files
that was silly
1 parent 5aa7b63 commit e498b26

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client/visitors

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2440,7 +2440,7 @@ export const template_visitors = {
24402440
},
24412441
SnippetBlock(node, context) {
24422442
// TODO hoist where possible
2443-
const args = [b.id('$$anchor'), b.rest(b.id('$$context'))];
2443+
const args = [b.id('$$anchor'), b.id('$$context')];
24442444

24452445
/** @type {import('estree').BlockStatement} */
24462446
let body;

0 commit comments

Comments
 (0)