Skip to content

Commit

Permalink
fix: Anchors should not have type="button" (#3086)
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 authored Sep 29, 2021
1 parent 1d15cff commit e2f01c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/src/common/components/LinkButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default class LinkButton extends Button {

vdom.tag = Link;
vdom.attrs.active = String(vdom.attrs.active);
delete vdom.attrs.type;

return vdom;
}
Expand Down

0 comments on commit e2f01c0

Please sign in to comment.