Skip to content

Commit d2ecf58

Browse files
committed
prettier
1 parent 4ff545f commit d2ecf58

File tree

1 file changed

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

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,7 @@ export function IfBlock(node, context) {
3232
b.block([
3333
b.if(
3434
/** @type {Expression} */ (context.visit(node.test)),
35-
b.stmt(
36-
b.call(
37-
b.id('$$render'),
38-
b.id(consequent_id)
39-
)
40-
),
35+
b.stmt(b.call(b.id('$$render'), b.id(consequent_id))),
4136
alternate_id
4237
? b.stmt(
4338
b.call(

0 commit comments

Comments
 (0)