app/components/coco/component.rb in coveragebook_components-0.8.2 vs app/components/coco/component.rb in coveragebook_components-0.8.3
- old
+ new
@@ -45,11 +45,11 @@
end
tag_attrs.compact!
end
- def component_tag(tag = nil, **attrs)
- Tag.new(tag || tag_name || :div, root: true, **merge_tag_attrs(**attrs))
+ def component_tag(tag = nil, **)
+ Tag.new(tag || tag_name || :div, root: true, **merge_tag_attrs(**))
end
def merge_tag_attrs(**attrs)
merged_attrs = attrs.deep_merge(tag_attrs)
classes = class_names(attrs[:class], tag_attrs[:class])