Skip to content

Commit a212b0d

Browse files
authored
chore: remove obsolete comment (#12615)
1 parent 97d5cf1 commit a212b0d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/svelte/src/internal/client/render.js

-3
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ export function hydrate(component, options) {
146146
return /** @type {Exports} */ (instance);
147147
} catch (error) {
148148
if (error === HYDRATION_ERROR) {
149-
// TODO it's possible for event listeners to have been added and
150-
// not removed, e.g. with `<svelte:window>` or `<svelte:document>`
151-
152149
if (options.recover === false) {
153150
e.hydration_failed();
154151
}

0 commit comments

Comments
 (0)