Skip to content

Commit 287150f

Browse files
authored
Fix: Delete the direction from the body arguments (#3724)
1 parent fd32bdd commit 287150f

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.changeset/olive-planes-flash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/view-components": patch
3+
---
4+
5+
Fix: Delete the direction from the body arguments

app/components/primer/beta/avatar_stack.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def initialize(tag: DEFAULT_TAG, align: ALIGN_DEFAULT, tooltipped: false, body_a
5252

5353
@tooltip_arguments = {
5454
for_id: @body_arguments[:id],
55+
direction: @body_arguments.delete(:direction),
5556
}
5657

5758
@tooltip_arguments[:direction] = @direction || Primer::Alpha::Tooltip::DIRECTION_DEFAULT

0 commit comments

Comments
 (0)