File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -61,18 +61,6 @@ export const connectedCallback = (elm: d.HostElement) => {
6161 cmpMeta . $flags$ & ( CMP_FLAGS . hasSlotRelocation | CMP_FLAGS . needsShadowDomShim ) )
6262 ) {
6363 setContentReference ( elm ) ;
64- } else if ( BUILD . hydrateClientSide && ! ( cmpMeta . $flags$ & CMP_FLAGS . hasSlotRelocation ) ) {
65- const commendPlaceholder = elm . firstChild as d . RenderNode ;
66- if (
67- commendPlaceholder ?. nodeType === NODE_TYPE . CommentNode &&
68- ! commendPlaceholder [ 's-cn' ] &&
69- ! commendPlaceholder . nodeValue
70- ) {
71- // if the first child is a comment node that was created by the
72- // setContentReference() function during SSR, remove it now as
73- // this component does not need slot relocation and can cause hydration issues
74- elm . removeChild ( commendPlaceholder ) ;
75- }
7664 }
7765 }
7866
You can’t perform that action at this time.
0 commit comments