File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/runtime-core/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import {
39
39
} from './componentRenderContext'
40
40
import { RendererNode , RendererElement } from './renderer'
41
41
import { NULL_DYNAMIC_COMPONENT } from './helpers/resolveAssets'
42
- import { hmrDirtyComponents , isHmrUpdating } from './hmr'
42
+ import { hmrDirtyComponents } from './hmr'
43
43
import { convertLegacyComponent } from './compat/component'
44
44
import { convertLegacyVModelProps } from './compat/componentVModel'
45
45
import { defineLegacyVNodeProperties } from './compat/renderFn'
@@ -425,7 +425,7 @@ function createBaseVNode(
425
425
) {
426
426
// #6978 the children maybe a hoisted array that should be cloned
427
427
// since it maybe changed during HMR
428
- if ( __DEV__ && isHmrUpdating && isArray ( children ) ) {
428
+ if ( __DEV__ && isArray ( children ) ) {
429
429
children = [ ...children ]
430
430
}
431
431
You can’t perform that action at this time.
0 commit comments