app/components/avo/navigation_link_component.rb in avo-1.22.3 vs app/components/avo/navigation_link_component.rb in avo-1.22.4
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
class Avo::NavigationLinkComponent < ViewComponent::Base
- def initialize(label: nil, path: nil, active: :inclusive, size: :md, target: "_self")
+ def initialize(label: nil, path: nil, active: :inclusive, size: :md, target: nil)
@label = label
@path = path
@active = active
@size = size
@target = target