lib/ReactRenderAnywhere.rb in react-render-anywhere-helper-0.1.3 vs lib/ReactRenderAnywhere.rb in react-render-anywhere-helper-0.1.4

- old
+ new

@@ -1,10 +1,10 @@ require "ReactRenderAnywhere/version" module ReactRenderAnywhere def render_component(name, element, props:) content_for(:javascripts) do - render partial: "common/render_component", locals: { element: element, props: props } + render partial: "common/render_components", locals: { name: name, element: element, props: props } end content_tag(:div, :class=>"react-render-anywhere", :id=>element) end end