Skip to content

Commit

Permalink
Remove non-existing argument in Banner preview (#2868)
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Rohan <rohan@github.com>
  • Loading branch information
lumaxis and jonrohan authored May 28, 2024
1 parent 5c9d71f commit 18a0037
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/ten-wombats-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Remove non-existing argument in Banner preview
2 changes: 1 addition & 1 deletion previews/primer/alpha/banner_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def scheme_warning
# @label Dismissable
# @snapshot
def dismissible
render(Primer::Alpha::Banner.new(dismiss_scheme: :hide, reappear: true)) { "This is a dismissable banner." }
render(Primer::Alpha::Banner.new(dismiss_scheme: :hide)) { "This is a dismissable banner." }
end

# @!group Full Width
Expand Down

0 comments on commit 18a0037

Please sign in to comment.