<title><%= title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<%== meta_data_tags %>
<%= canonical_tag(current_store.url) %>
<%= favicon_link_tag 'favicon.ico' %>
<%= stylesheet_link_tag 'spree/frontend/all', media: 'screen' %>
<%= csrf_meta_tags %>
<%= render 'spree/shared/paths' %>
<%= javascript_include_tag 'spree/frontend/all', defer: true %>
<%= yield :head %>
<%= render 'spree/shared/translations' %>

<title><%= title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<%== meta_data_tags %>
<%= canonical_tag(current_store.url) %>
<%= favicon_link_tag 'favicon.ico' %>
<%= stylesheet_link_tag 'spree/frontend/all', media: 'screen' %>
<%= csrf_meta_tags %>
<%= render 'spree/shared/paths' %>
<%= javascript_include_tag 'spree/frontend/all', defer: true %>
<%= yield :head %>

Remove duplicate JS code in header
Remove duplicate JS code in header
