Skip to content

Commit

Permalink
fix: better null handling on form
Browse files Browse the repository at this point in the history
  • Loading branch information
DukeFerdinand committed Jan 14, 2025
1 parent aff2768 commit ec6545c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auro-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export class AuroButton extends LitElement {
}

get form() {
return this.internals.form || null;
return this.internals ? this.internals.form : null;
}

render() {
Expand Down

0 comments on commit ec6545c

Please sign in to comment.