Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix custom element define error #472

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

pkissling
Copy link
Owner

@pkissling pkissling commented Oct 17, 2024

Fixes #409

Add a check to prevent defining the custom element 'action-handler-clock-weather' multiple times.

  • Use if (!customElements.get('action-handler-clock-weather')) to check if the custom element is already defined before defining it.

For more details, open the Copilot Workspace session.

Fixes #409

Add a check to prevent defining the custom element 'action-handler-clock-weather' multiple times.

* Use `if (!customElements.get('action-handler-clock-weather'))` to check if the custom element is already defined before defining it.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/pkissling/clock-weather-card/issues/409?shareId=XXXX-XXXX-XXXX-XXXX).
@pkissling pkissling changed the title Fix custom element define error fix: Fix custom element define error Nov 19, 2024
@pkissling pkissling merged commit 722fb76 into master Nov 19, 2024
1 check passed
@pkissling pkissling deleted the fix-custom-element-define-error branch November 19, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant