File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/core/src/hydration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ export function invalidSkipHydrationHost(rNode: RNode): Error {
169169 'that doesn\'t act as a component host. Hydration can be ' +
170170 'skipped only on per-component basis.\n\n' ;
171171 const actual = `${ describeDomFromNode ( rNode ) } \n\n` ;
172- const footer = 'Please move the `ngSkipHydration` attribute to the component host element.' ;
172+ const footer = 'Please move the `ngSkipHydration` attribute to the component host element.\n\n ' ;
173173 const message = header + actual + footer ;
174174 return new RuntimeError ( RuntimeErrorCode . INVALID_SKIP_HYDRATION_HOST , message ) ;
175175}
@@ -366,7 +366,7 @@ function getHydrationErrorFooter(componentClassName?: string): string {
366366 return `To fix this problem:\n` +
367367 ` * check ${ componentInfo } component for hydration-related issues\n` +
368368 ` * or skip hydration by adding the \`ngSkipHydration\` attribute ` +
369- `to its host node in a template` ;
369+ `to its host node in a template\n\n ` ;
370370}
371371
372372/**
You can’t perform that action at this time.
0 commit comments