diff --git a/debug/src/debug.js b/debug/src/debug.js index c8c4085abf..30fdabb3e2 100644 --- a/debug/src/debug.js +++ b/debug/src/debug.js @@ -589,6 +589,6 @@ options._hydrationMismatch = (newVNode, excessDomChildren) => { .map(child => child && child.localName) .filter(Boolean); console.error( - `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)}` + `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)}` ); };