diff --git a/packages/svelte/src/internal/client/reactivity/batch.js b/packages/svelte/src/internal/client/reactivity/batch.js index b720c71a03..d8d8286b9b 100644 --- a/packages/svelte/src/internal/client/reactivity/batch.js +++ b/packages/svelte/src/internal/client/reactivity/batch.js @@ -94,9 +94,7 @@ export class Batch { /** * When the batch is committed (and the DOM is updated), we need to remove old branches - * and append new ones by calling the functions added inside (if/each/key/etc) blocks. - * Key is a function that returns the block effect because #callbacks will be called before - * the block effect reference exists, so we need to capture it in a closure. + * and append new ones by calling the functions added inside (if/each/key/etc) blocks * @type {Map void>} */ #callbacks = new Map();