We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6758c3c commit 197afc2Copy full SHA for 197afc2
packages/runtime-dom/src/apiCustomElement.ts
@@ -664,10 +664,10 @@ export function useShadowRoot(): ShadowRoot | null {
664
return (el as VueElement).shadowRoot
665
} else if (__DEV__) {
666
if (!instance) {
667
- warn(`useCustomElementRoot called without an active component instance.`)
+ warn(`useShadowRoot called without an active component instance.`)
668
} else {
669
warn(
670
- `useCustomElementRoot can only be used in components defined via ` +
+ `useShadowRoot can only be used in components defined via ` +
671
`defineCustomElement.`,
672
)
673
}
0 commit comments