Skip to content

Commit

Permalink
fix: allow Symbol on Avo::ProfileItemComponent method
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Sep 11, 2024
1 parent b87693c commit 2ef3b2b
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 2ef3b2b

Please sign in to comment.