Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

FIX Header Section (#13012)

brozeka333fea988fc
diff --git a/storefront/app/views/themes/default/spree/page_sections/nav/_desktop.html.erb b/storefront/app/views/themes/default/spree/page_sections/nav/_desktop.html.erb
index cad09925e4..d91f76ad9a 100644
--- a/storefront/app/views/themes/default/spree/page_sections/nav/_desktop.html.erb
+++ b/storefront/app/views/themes/default/spree/page_sections/nav/_desktop.html.erb
@@ -10,8 +10,7 @@
class: "shrink-0 menu-item header--nav-link px-4 py-1",
class_active: "menu-item--active",
target: main_link.open_in_new_tab.presence && "_blank",
- rel: main_link.open_in_new_tab.presence && "noopener noreferrer",
- **link_attributes(main_link, as_html: false) do %>
+ rel: main_link.open_in_new_tab.presence && "noopener noreferrer" do %>
<span class="group-hover:border-b-[1.5px] group-hover:border-b-accent"><%= main_link.label %></span>
<% end %>
<% if presenter.columns.any? %>