We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acf8420 commit 13e4c5bCopy full SHA for 13e4c5b
packages/widget/src/web-component.tsx
@@ -60,9 +60,7 @@ function initializeSkipWidget() {
60
}
61
62
// Upgrade any existing skip-widget elements
63
- document.querySelectorAll(WEB_COMPONENT_NAME).forEach((el) => {
64
- customElements.upgrade(el);
65
- });
+ document.querySelectorAll(WEB_COMPONENT_NAME).forEach((el) => customElements.upgrade(el as Node));
66
67
68
initializeSkipWidget();
0 commit comments