Skip to content

Commit 49212c8

Browse files
committed
Remove a now redundant .to_sym just for cleanliness
1 parent d189db4 commit 49212c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/inertia_rails/renderer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def computed_props
5050
# is cast to json, we should treat string/symbol keys as identical.
5151
_props = ::InertiaRails.shared_data(@controller).deep_symbolize_keys.send(prop_merge_method, @props.deep_symbolize_keys).select do |key, prop|
5252
if rendering_partial_component?
53-
key.to_sym.in? partial_keys
53+
key.in? partial_keys
5454
else
5555
!prop.is_a?(InertiaRails::Lazy)
5656
end

0 commit comments

Comments
 (0)