We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2af578 commit 63cc100Copy full SHA for 63cc100
lib/react_on_rails/helper.rb
@@ -638,7 +638,7 @@ def server_rendered_react_component(render_options)
638
if should_raise_streaming_prerender_error?(chunk_json_result, render_options)
639
raise_prerender_error(chunk_json_result, react_component_name, props, js_code)
640
end
641
- # It doesn't make any transformation, it listens to the streamed chunks and raise error if it has errors
+ # It doesn't make any transformation, it listens and raises error if a chunk has errors
642
chunk_json_result
643
644
elsif result["hasErrors"] && render_options.raise_on_prerender_error
0 commit comments