app/views/lookbook/pages/show.html.erb in lookbook-1.0.0.beta.2 vs app/views/lookbook/pages/show.html.erb in lookbook-1.0.0.beta.3

- old
+ new

@@ -23,19 +23,19 @@ <% if @page.footer? && @pages.many? %> <footer class="flex items-center justify-between border-t border-gray-300 mt-12 pt-8 pb-10 "> <% if @previous_page %> <a href="<%= lookbook_page_path @previous_page.lookup_path %>" class="flex items-center flex-none"> - <%= render_component :icon, name: :arrow_left, size: 4, class: "hover:text-indigo-800" %> + <%= icon :arrow_left, size: 4, class: "hover:text-indigo-800" %> <span class="ml-2 underline"><%= @previous_page.title %></span> </a> <% end %> <% if @next_page %> <a href="<%= lookbook_page_path @next_page.lookup_path %>" class="flex items-center flex-none ml-auto"> <span class="mr-2 underline"><%= @next_page.title %></span> - <%= render_component :icon, name: :arrow_right, size: 4, class: "hover:text-indigo-800" %> + <%= icon :arrow_right, size: 4, class: "hover:text-indigo-800" %> </a> <% end %> </footer> <% end %> </div>