@sitecore-feaas/clientside 0.1.39 → 0.1.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -474,7 +474,7 @@ export class FEAASBase<Props = any, Payload = any> extends WebComponent {
474
474
 
475
475
  static register(tagName: string, win?: Window) {
476
476
  if (win == null) win = typeof window != 'undefined' ? window : null
477
- if (!win?.customElements.get(tagName)) {
477
+ if (win && !win.customElements.get(tagName)) {
478
478
  win.customElements.define(tagName, this)
479
479
  }
480
480
  }