Skip to content

Commit 63cc100

Browse files
make requested changes
1 parent b2af578 commit 63cc100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react_on_rails/helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def server_rendered_react_component(render_options)
638638
if should_raise_streaming_prerender_error?(chunk_json_result, render_options)
639639
raise_prerender_error(chunk_json_result, react_component_name, props, js_code)
640640
end
641-
# It doesn't make any transformation, it listens to the streamed chunks and raise error if it has errors
641+
# It doesn't make any transformation, it listens and raises error if a chunk has errors
642642
chunk_json_result
643643
end
644644
elsif result["hasErrors"] && render_options.raise_on_prerender_error

0 commit comments

Comments
 (0)