Skip to content

Commit 8a24558

Browse files
committed
false -> 0
1 parent b61a081 commit 8a24558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/server/visitors/CallExpression.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function CallExpression(node, context) {
2626
}
2727

2828
if (rune === '$effect.pending') {
29-
return b.false;
29+
return b.literal(0);
3030
}
3131

3232
if (rune === '$state' || rune === '$state.raw') {

0 commit comments

Comments
 (0)