Fix Shop Poster view link

This commit is contained in:
2022-09-26 19:46:10 +02:00
parent 0cc996e117
commit 6ca570c745

View File

@@ -37,10 +37,7 @@
size="xsmall" size="xsmall"
url="/shop/poster-{location.slug}" url="/shop/poster-{location.slug}"
text="View" text="View"
on:click={(event) => { on:click={() => $smoothScroll.scrollTo('#poster', { duration: 2 })}
event.preventDefault()
setTimeout(() => $smoothScroll.scrollTo('#poster', { duration: 2 }), 1000)
}}
/> />
<Button <Button
tag="button" tag="button"