app/components/primer/alpha/dialog.rb in primer_view_components-0.0.116 vs app/components/primer/alpha/dialog.rb in primer_view_components-0.0.117
- old
+ new
@@ -56,12 +56,10 @@
system_arguments[:classes] = class_names(
system_arguments[:classes]
)
system_arguments[:id] = "dialog-show-#{@system_arguments[:id]}"
system_arguments[:data] = (system_arguments[:data] || {}).merge({ "show-dialog-id": @system_arguments[:id] })
- # rubocop:disable Primer/ComponentNameMigration
Primer::ButtonComponent.new(**system_arguments)
- # rubocop:enable Primer/ComponentNameMigration
}
# Header content.
#
# @param show_divider [Boolean] Show a divider between the header and body.