Skip to content

Commit 5971159

Browse files
committed
lint
1 parent 9028d46 commit 5971159

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,11 @@ export function hydrate(component, options) {
167167
return instance;
168168
}, false);
169169
} catch (error) {
170-
if (!hydrated && options.recover !== false && /** @type {Error} */ (error).message.includes('hydration_missing_marker_close')) {
170+
if (
171+
!hydrated &&
172+
options.recover !== false &&
173+
/** @type {Error} */ (error).message.includes('hydration_missing_marker_close')
174+
) {
171175
w.hydration_mismatch();
172176

173177
// If an error occured above, the operations might not yet have been initialised.

0 commit comments

Comments
 (0)