fix: check that component wasn't instantiated (#10458)

#10454
pull/10468/head
ikalachy 7 months ago committed by GitHub
parent 1a721e5916
commit 9129d2f138
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -89,7 +89,7 @@ if (typeof HTMLElement === 'function') {
if (!this.$$c) {
// We wait one tick to let possible child slot elements be created/mounted
await Promise.resolve();
if (!this.$$cn) {
if (!this.$$cn || this.$$c) {
return;
}
/** @param {string} name */

Loading…
Cancel
Save