Skip to content

Commit

Permalink
Fix string key for component hash
Browse files Browse the repository at this point in the history
  • Loading branch information
justisb committed Apr 24, 2018
1 parent 77fc623 commit 5db90da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/react_on_rails/react_on_rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def react_component_hash(component_name, options = {})
if server_rendered_html.is_a?(Hash)
build_react_component_result_for_server_rendered_hash(
server_rendered_html: server_rendered_html,
component_specification_tag: internal_result["tag"],
component_specification_tag: internal_result[:tag],
console_script: console_script,
render_options: internal_result[:render_options]
)
Expand Down

0 comments on commit 5db90da

Please sign in to comment.