We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9028d46 commit 5971159Copy full SHA for 5971159
packages/svelte/src/internal/client/render.js
@@ -167,7 +167,11 @@ export function hydrate(component, options) {
167
return instance;
168
}, false);
169
} catch (error) {
170
- if (!hydrated && options.recover !== false && /** @type {Error} */ (error).message.includes('hydration_missing_marker_close')) {
+ if (
171
+ !hydrated &&
172
+ options.recover !== false &&
173
+ /** @type {Error} */ (error).message.includes('hydration_missing_marker_close')
174
+ ) {
175
w.hydration_mismatch();
176
177
// If an error occured above, the operations might not yet have been initialised.
0 commit comments