From 848e27cf280940ee4be0243e1e1f0425ac6f1ec7 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 07:00:15 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- packages/runtime-core/src/componentPublicInstance.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/runtime-core/src/componentPublicInstance.ts b/packages/runtime-core/src/componentPublicInstance.ts index e48d0fbd9..215a80b17 100644 --- a/packages/runtime-core/src/componentPublicInstance.ts +++ b/packages/runtime-core/src/componentPublicInstance.ts @@ -526,14 +526,10 @@ export const PublicInstanceProxyHandlers: ProxyHandler = { `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.`, ) } },