Skip to content

Commit eba80f7

Browse files
Merge pull request #4602 from sirreal/patch-1
Add missing space in hydration mismatch message
2 parents 5c9625a + d2904b9 commit eba80f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug/src/debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,6 @@ options._hydrationMismatch = (newVNode, excessDomChildren) => {
589589
.map(child => child && child.localName)
590590
.filter(Boolean);
591591
console.error(
592-
`Expected a DOM node of type ${type} but found ${availableTypes.join(', ')}as available DOM-node(s), this is caused by the SSR'd HTML containing different DOM-nodes compared to the hydrated one.\n\n${getOwnerStack(newVNode)}`
592+
`Expected a DOM node of type ${type} but found ${availableTypes.join(', ')} as available DOM-node(s), this is caused by the SSR'd HTML containing different DOM-nodes compared to the hydrated one.\n\n${getOwnerStack(newVNode)}`
593593
);
594594
};

0 commit comments

Comments
 (0)