Skip to content

Commit ad21b1b

Browse files
authored
fix(runtime-core): use __vapor instead of vapor to identify Vapor components (#13652)
1 parent d1f2915 commit ad21b1b

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime-core/src

1 file changed

+1
-1
lines changed

packages/runtime-core/src/hmr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function reload(id: string, newComp: HMRComponent): void {
119119
// create a snapshot which avoids the set being mutated during updates
120120
const instances = [...record.instances]
121121

122-
if (newComp.vapor) {
122+
if (newComp.__vapor) {
123123
for (const instance of instances) {
124124
instance.hmrReload!(newComp)
125125
}

0 commit comments

Comments
 (0)