Fix current product detection on Shop location switcher select

This commit is contained in:
2022-06-21 13:38:55 +02:00
parent deb0c1d708
commit 23b0035272
2 changed files with 3 additions and 3 deletions

View File

@@ -128,6 +128,6 @@
class:is-visible={scrolledPastIntro}
class:is-overlaid={$cartOpen}
>
<ShopLocationSwitcher />
<ShopLocationSwitcher currentProductSlug={product && product.location.slug} />
<ButtonCart />
</nav>