Skip to content

Commit

Permalink
Correct property name to elementType
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Nov 25, 2024
1 parent a7cb775 commit 8708954
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class LinkEnhancement extends Component {

// This will make sure that the component can only be initialised
// on HTMLAnchorElement
static rootElementType = HTMLAnchorElement
static elementType = HTMLAnchorElement

constructor($root) {
super($root);
Expand Down

0 comments on commit 8708954

Please sign in to comment.