Skip to content

Commit 70fb68b

Browse files
committed
chore: fix comment typo
1 parent dd21eac commit 70fb68b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/instance/lifecycle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export function mountComponent (
193193
}
194194
}
195195

196-
// we set this to vm._watcher inside the wathcer's constructor
196+
// we set this to vm._watcher inside the watcher's constructor
197197
// since the watcher's initial patch may call $forceUpdate (e.g. inside child
198198
// component's mounted hook), which relies on vm._watcher being already defined
199199
new Watcher(vm, updateComponent, noop, null, true /* isRenderWatcher */)

0 commit comments

Comments
 (0)