Skip to content

Commit

Permalink
fix the problem of not updating the first streaming chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
AbanoubGhadban committed Jul 30, 2024
1 parent 1a1928a commit 65a0040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/react_on_rails/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def build_react_component_result_for_server_streamed_content(
#{component_specification_tag}
<#{content_tag_options_html_tag} id="#{render_options.dom_id}">#{chunk}</#{content_tag_options_html_tag}>
HTML
html_content.strip
next html_content.strip
end
chunk
end
Expand Down

0 comments on commit 65a0040

Please sign in to comment.