Skip to content

Commit

Permalink
fix(ui): use correct type for anchor
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 19, 2021
1 parent 1442784 commit a6595e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/node/attributes_input.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ func NewTextField(id string, text *text.Message, group Group) *Node {
}
}

func NewAnchorField(id string, href string, title *text.Message, group Group) *Node {
func NewAnchorField(id string, href string, group Group, title *text.Message) *Node {
return &Node{
Type: Text,
Type: Anchor,
Group: group,
Attributes: &AnchorAttributes{Title: title, HREF: href, Identifier: id},
Meta: &Meta{},
Expand Down

0 comments on commit a6595e4

Please sign in to comment.