From e499f6957451c8230a5e6ce61fee414300e89261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Mon, 1 Aug 2022 18:10:18 +0200 Subject: [PATCH] Fix some missing smooth scroll function syntax --- src/components/molecules/Poster.svelte | 2 +- src/routes/index.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/molecules/Poster.svelte b/src/components/molecules/Poster.svelte index 1ce0163..b28af3b 100644 --- a/src/components/molecules/Poster.svelte +++ b/src/components/molecules/Poster.svelte @@ -17,7 +17,7 @@
{#if image} - smoothScroll('poster', false)} sveltekit:noscroll sveltekit:prefetch> + smoothScroll({ hash: 'poster', changeHash: false })} sveltekit:noscroll sveltekit:prefetch> Globe smoothScroll('locations')} + on:click={() => smoothScroll({ hash: 'locations' })} />