refactor: remove unnecessary variable (#401)
This commit is contained in:
parent
6a61082c6c
commit
8454e7e004
@ -246,8 +246,7 @@ export function setupStatefulComponent(
|
||||
if (Component.components) {
|
||||
const names = Object.keys(Component.components)
|
||||
for (let i = 0; i < names.length; i++) {
|
||||
const name = names[i]
|
||||
validateComponentName(name, instance.appContext.config)
|
||||
validateComponentName(names[i], instance.appContext.config)
|
||||
}
|
||||
}
|
||||
if (Component.directives) {
|
||||
|
Loading…
Reference in New Issue
Block a user