From e1b0831c58efadb9026a6401693d0b063fc76ee1 Mon Sep 17 00:00:00 2001 From: Judith Roth Date: Thu, 20 Jun 2024 10:05:55 +0200 Subject: [PATCH] Fix small typo in lookbook When the braces are in the wrong position the button will appear empty. --- lookbook/docs/patterns/05-dialogs.md.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lookbook/docs/patterns/05-dialogs.md.erb b/lookbook/docs/patterns/05-dialogs.md.erb index 66c135596eff..5444a136bae5 100644 --- a/lookbook/docs/patterns/05-dialogs.md.erb +++ b/lookbook/docs/patterns/05-dialogs.md.erb @@ -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 %> ```