Skip to content

Commit 62001de

Browse files
committed
lint
1 parent 6f052ab commit 62001de

File tree

1 file changed

+2
-2
lines changed
  • packages/svelte/src/internal/client/dom/blocks

1 file changed

+2
-2
lines changed

packages/svelte/src/internal/client/dom/blocks/await.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export function await_block(node, get_input, pending_fn, then_fn, catch_fn) {
8181
}
8282

8383
if (state === CATCH && catch_fn) {
84-
if (catch_effect) resume_effect(catch_effect);
85-
else catch_effect = branch(() => catch_fn(anchor, error_source));
84+
if (catch_effect) resume_effect(catch_effect);
85+
else catch_effect = branch(() => catch_fn(anchor, error_source));
8686
}
8787

8888
if (state !== PENDING && pending_effect) {

0 commit comments

Comments
 (0)