Skip to content

Commit

Permalink
fix: allow Symbol on Avo::ProfileItemComponent method (#3236)
Browse files Browse the repository at this point in the history
* fix: allow `Symbol` on `Avo::ProfileItemComponent` `method`

* lint
  • Loading branch information
Paul-Bob authored Sep 11, 2024
1 parent b87693c commit 85565a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/avo/profile_item_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Avo::ProfileItemComponent < Avo::BaseComponent
value&.to_sym
end
prop :title, _Nilable(String), reader: :public
prop :method, _Nilable(String), reader: :public
prop :method, _Nilable(_Union(_String, _Symbol)), reader: :public
prop :params, _Nilable(Hash), default: {}.freeze, reader: :public
prop :classes, String, default: "", reader: :public

Expand Down

0 comments on commit 85565a5

Please sign in to comment.