Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

chore[#48620] remove unecessary constructor

Kabiru Mwenja5c616ae40b40
diff --git a/app/components/attribute_groups/attribute_group_header_component.rb b/app/components/attribute_groups/attribute_group_header_component.rb
index ad3606c919e..b495bae5c01 100644
--- a/app/components/attribute_groups/attribute_group_header_component.rb
+++ b/app/components/attribute_groups/attribute_group_header_component.rb
@@ -31,9 +31,5 @@
module AttributeGroups
class AttributeGroupHeaderComponent < ::RailsComponent
options :title
-
- def initialize(title:, **options)
- super(title:, **options)
- end
end
end
diff --git a/app/components/attribute_groups/attribute_key_value_component.rb b/app/components/attribute_groups/attribute_key_value_component.rb
index 095812077ff..d4e681f6207 100644
--- a/app/components/attribute_groups/attribute_key_value_component.rb
+++ b/app/components/attribute_groups/attribute_key_value_component.rb
@@ -31,9 +31,5 @@
module AttributeGroups
class AttributeKeyValueComponent < ::RailsComponent
options :key, :value
-
- def initialize(attribute_key:, attribute_value:, **options)
- super(attribute_key:, attribute_value:, **options)
- end
end
end