Skip to content

Commit 2b5a559

Browse files
committed
chore: avoid compat disabled error for built-in components
1 parent 9acc9a1 commit 2b5a559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/compat/compatConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ export function warnDeprecation(
502502
typeof message === 'function' ? message(...args) : message
503503
}${link ? `\n Details: ${link}` : ``}`
504504
)
505-
if (!isCompatEnabled(key, instance)) {
505+
if (!isCompatEnabled(key, instance, true)) {
506506
console.error(
507507
`^ The above deprecation's compat behavior is disabled and will likely ` +
508508
`lead to runtime errors.`

0 commit comments

Comments
 (0)