lib/lookbook/preview_example.rb in lookbook-1.0.0.beta.8 vs lib/lookbook/preview_example.rb in lookbook-1.0.0.rc.1

- old
+ new

@@ -9,10 +9,10 @@ @example_inspector = SourceInspector.new("#{@preview.name}##{name}") super("#{@preview.path}/#{name}") end def id - generate_id(@preview.id, name) + @example_inspector&.id || generate_id(@preview.id, name) end def url_path lookbook_inspect_path lookup_path end