diff --git a/src/components/molecules/ShopLocationSwitcher.svelte b/src/components/molecules/ShopLocationSwitcher.svelte index 7e61b73..f56e5b9 100644 --- a/src/components/molecules/ShopLocationSwitcher.svelte +++ b/src/components/molecules/ShopLocationSwitcher.svelte @@ -14,7 +14,7 @@ // Quick location change const quickLocationChange = ({ target: { value }}: any) => { - const newPath = $page.path.split('-')[0] + `-${value}` + const newPath = `/shop/poster-${value}` goto(newPath, { replaceState: true, noscroll: true, keepfocus: true }) }