[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-10-24 07:00:15 +00:00 committed by GitHub
parent 7928eaa652
commit 848e27cf28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 6 deletions

View File

@ -526,14 +526,10 @@ export const PublicInstanceProxyHandlers: ProxyHandler<any> = {
`but is not defined on instance.`,
)
}
} else if (
__DEV__ &&
!__TEST__ &&
!(key[0] === '$' || key[0] === '_')
) {
} else if (__DEV__ && !__TEST__ && !(key[0] === '$' || key[0] === '_')) {
warn(
`Property ${JSON.stringify(key)} was accessed during render ` +
`but is not defined on instance.`
`but is not defined on instance.`,
)
}
},