Skip to content

Commit aa3928e

Browse files
fix the problem of not updating the first streaming chunk
1 parent 90405bb commit aa3928e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react_on_rails/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def build_react_component_result_for_server_streamed_content(
411411
#{component_specification_tag}
412412
<#{content_tag_options_html_tag} id="#{render_options.dom_id}">#{chunk}</#{content_tag_options_html_tag}>
413413
HTML
414-
html_content.strip
414+
next html_content.strip
415415
end
416416
chunk
417417
end

0 commit comments

Comments
 (0)