Skip to content

Commit

Permalink
Remove unused instance variable in ActionList (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron authored Oct 4, 2022
1 parent bd8fe7f commit 493530e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-rules-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/view-components': patch
---

Remove unused instance variable in ActionList
2 changes: 0 additions & 2 deletions app/components/primer/alpha/action_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ def initialize(

# @private
def before_render
return if @sub_group

if heading.present?
@system_arguments[:"aria-labelledby"] = @id
elsif aria(:label, @system_arguments).blank?
Expand Down

0 comments on commit 493530e

Please sign in to comment.