Skip to content

Commit ad10f4e

Browse files
committed
Appease the linter
1 parent 1849d8b commit ad10f4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/inertia_rails/renderer.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def initialize(component, controller, request, response, render_method, **option
2222
@clear_history = options.fetch(:clear_history, controller.session[:inertia_clear_history] || false)
2323

2424
deep_merge = options.fetch(:deep_merge, @configuration.deep_merge_shared_data)
25-
passed_props = options.fetch(:props, component.is_a?(Hash) ? component : @controller.__send__(:inertia_view_assigns))
25+
passed_props = options.fetch(:props,
26+
component.is_a?(Hash) ? component : @controller.__send__(:inertia_view_assigns))
2627
@props = merge_props(shared_data, passed_props, deep_merge)
2728

2829
@component = resolve_component(component)

spec/inertia/rendering_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,6 @@
795795
'default' => ['grit']
796796
)
797797
end
798-
799798
end
800799
end
801800
end

0 commit comments

Comments
 (0)