mirror of https://github.com/vuejs/core.git
chore: use NOOP. (#9938)
This commit is contained in:
parent
923d560d0b
commit
9c54dacd0d
|
|
@ -256,7 +256,7 @@ export function createTransformContext(
|
|||
}
|
||||
context.parent!.children.splice(removalIndex, 1)
|
||||
},
|
||||
onNodeRemoved: () => {},
|
||||
onNodeRemoved: NOOP,
|
||||
addIdentifiers(exp) {
|
||||
// identifier tracking only happens in non-browser builds.
|
||||
if (!__BROWSER__) {
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ export function renderComponentVNode(
|
|||
),
|
||||
)
|
||||
// Note: error display is already done by the wrapped lifecycle hook function.
|
||||
.catch(() => {})
|
||||
.catch(NOOP)
|
||||
}
|
||||
return p.then(() => renderComponentSubTree(instance, slotScopeId))
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue