Skip to content

Commit bf3ef6c

Browse files
don't return extra null at he end of the stream
1 parent 8937c5f commit bf3ef6c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/react_on_rails/helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def stream_react_component(component_name, options = {})
139139
stream.each_chunk do |chunk|
140140
Fiber.yield chunk
141141
end
142-
Fiber.yield nil
143142
end
144143

145144
@rorp_rendering_fibers << rendering_fiber

0 commit comments

Comments
 (0)