app/components/lookbook/embed/component.rb in lookbook-1.0.1 vs app/components/lookbook/embed/component.rb in lookbook-1.0.2
- old
+ new
@@ -1,9 +1,9 @@
module Lookbook
class Embed::Component < Lookbook::BaseComponent
def initialize(id:, example:, params: {}, opts: {}, max_height: nil, **html_attrs)
@id = id
- @example = example
+ @target = example
@params = params
@opts = opts
@max_height = max_height
super(**html_attrs)
end