app/components/lookbook/tab_panels/panel/component.rb in lookbook-1.1.1 vs app/components/lookbook/tab_panels/panel/component.rb in lookbook-1.2.0

- old
+ new

@@ -1,9 +1,8 @@ module Lookbook class TabPanels::Panel::Component < Lookbook::BaseComponent - def initialize(name:, id: nil, **html_attrs) + def initialize(name:, **html_attrs) @name = name - @id = (id || "panel-#{name}").to_s super(**html_attrs) end end end