Skip to content

Commit

Permalink
Fix small typo in lookbook
Browse files Browse the repository at this point in the history
When the braces are in the wrong position the button will appear empty.
  • Loading branch information
judithroth committed Jun 20, 2024
1 parent c6929f4 commit e1b0831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lookbook/docs/patterns/05-dialogs.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ attributes to it:
tag: :a,
href: link_to_dialog_path,
data: { controller: "async-dialog" }
) do |button|
)) do |button|
button.with_leading_visual_icon(icon: :edit)
"Edit something"
end)
end
%>
```

Expand Down

0 comments on commit e1b0831

Please sign in to comment.