Skip to content

Commit 2b896fe

Browse files
authored
Update componentProps.ts
1 parent 04aa312 commit 2b896fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/runtime-core/src/componentProps.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,7 @@ export function updateProps(
224224
const propsToUpdate = instance.vnode.dynamicProps!
225225
for (let i = 0; i < propsToUpdate.length; i++) {
226226
let key = propsToUpdate[i]
227-
// if the prop key is a declared emit event listener.
228-
// use continue to skip this prop
227+
// skip if the prop key is a declared emit event listener
229228
if (isEmitListener(instance.emitsOptions, key)){
230229
continue
231230
}

0 commit comments

Comments
 (0)