Skip to content

Commit bb99dd5

Browse files
committed
Fix string key for component hash
1 parent ace8cd7 commit bb99dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react_on_rails/react_on_rails_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def react_component_hash(component_name, options = {})
142142
if server_rendered_html.is_a?(Hash)
143143
build_react_component_result_for_server_rendered_hash(
144144
server_rendered_html: server_rendered_html,
145-
component_specification_tag: internal_result["tag"],
145+
component_specification_tag: internal_result[:tag],
146146
console_script: console_script,
147147
render_options: internal_result[:render_options]
148148
)

0 commit comments

Comments
 (0)