From 8213586cd9b1615580aa9e3d5b3efdae4c2906b5 Mon Sep 17 00:00:00 2001 From: Dominic Gannaway Date: Tue, 17 Sep 2024 17:46:09 +0100 Subject: [PATCH] tidy --- packages/svelte/src/internal/client/dom/blocks/if.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/svelte/src/internal/client/dom/blocks/if.js b/packages/svelte/src/internal/client/dom/blocks/if.js index 480ea804cd..b1cde6781c 100644 --- a/packages/svelte/src/internal/client/dom/blocks/if.js +++ b/packages/svelte/src/internal/client/dom/blocks/if.js @@ -45,7 +45,7 @@ export function if_block(node, get_condition, consequent_fn, alternate_fn = null // dependencies get lost. By having a derived already having run, those dependencies won't be affected by this var condition = get(derived_condition); - // Whether or not there was a hydration mismatch. Needs to be a `let` or else it isn't treeshaken out + /** Whether or not there was a hydration mismatch. Needs to be a `let` or else it isn't treeshaken out */ let mismatch = false; if (hydrating) { @@ -85,7 +85,6 @@ export function if_block(node, get_condition, consequent_fn, alternate_fn = null pause_effect(consequent_effect, () => { consequent_effect = null; }); - } }