app/views/katello/layouts/react.html.erb in katello-3.18.0.rc2.1 vs app/views/katello/layouts/react.html.erb in katello-3.18.0

- old
+ new

@@ -8,9 +8,10 @@ <% content_for(:content) do %> <%= notifications %> <div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div> <div id="user-id" data-id="<%= User.current.id if User.current %>" ></div> - <div id="reactRoot"></div> - <%= mount_react_component('katello', '#reactRoot') %> + <div id="reactRoot"> + <%= react_component('katello') %> + </div> <% end %> <%= render file: "layouts/base" %>