Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
AbanoubGhadban committed Jul 28, 2024
1 parent b71e866 commit f04db5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/react_on_rails/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ def stream_react_component_async(component_name, options = {})
end

if @rorp_rendering_fibers.nil?
raise ReactOnRails::Error, "You must call stream_view_containing_react_components to render the view containing the react component"
raise ReactOnRails::Error,
"You must call stream_view_containing_react_components to render the view containing the react component"
end

@rorp_rendering_fibers << rendering_fiber

# return the first chunk of the fiber
Expand Down

0 comments on commit f04db5c

Please sign in to comment.