File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/runtime-core/src Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,11 @@ import {
7272} from './components/Teleport'
7373import { type KeepAliveContext , isKeepAlive } from './components/KeepAlive'
7474import { isHmrUpdating , registerHMR , unregisterHMR } from './hmr'
75- import { type RootHydrateFunction , createHydrationFunctions } from './hydration'
75+ import {
76+ DOMNodeTypes ,
77+ type RootHydrateFunction ,
78+ createHydrationFunctions ,
79+ } from './hydration'
7680import { invokeDirectiveHook } from './directives'
7781import { endMeasure , startMeasure } from './profiling'
7882import {
@@ -2230,7 +2234,7 @@ function baseCreateRenderer(
22302234 }
22312235
22322236 const getFirstElement = ( cur : RendererNode , end : RendererNode ) => {
2233- while ( cur . nodeType !== Node . ELEMENT_NODE && cur !== end ) {
2237+ while ( cur . nodeType !== DOMNodeTypes . ELEMENT && cur !== end ) {
22342238 cur = hostNextSibling ( cur ) !
22352239 }
22362240
You can’t perform that action at this time.
0 commit comments