fix: Anchors should not have type="button" (#3086)

This commit is contained in:
Sami Mazouz 2021-09-29 16:30:31 +01:00 committed by GitHub
parent 1d15cff9ca
commit e2f01c040b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}