Skip to content

Commit

Permalink
Return to_json method call to app_props_server_render to ensure handl…
Browse files Browse the repository at this point in the history
…ing the both cases
  • Loading branch information
cheremukhin23 committed Mar 27, 2017
1 parent a5a414a commit 27bfe25
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%= render "header" %>

<%= react_component("HelloWorld",
props: @app_props_server_render,
props: @app_props_server_render.to_json,
prerender: true,
trace: true,
id: "my-hello-world-id",
Expand All @@ -27,7 +27,7 @@
</ul>
<pre>
<%%= react_component("HelloWorld",
props: @app_props_server_render,
props: @app_props_server_render.to_json,
prerender: true,
trace: true,
id: "my-hello-world-id",
Expand Down

0 comments on commit 27bfe25

Please sign in to comment.