diff --git a/src/lib/components/Common/Tracker.svelte b/src/lib/components/Common/Tracker.svelte index 3cd06a5..ccadc52 100644 --- a/src/lib/components/Common/Tracker.svelte +++ b/src/lib/components/Common/Tracker.svelte @@ -7,8 +7,6 @@ slides, includeFirst = true; - console.log(page, slides, includeFirst); - let newSlides = includeFirst ? slides : slides.slice(1); let pageSection = sectionStore[page]; @@ -17,12 +15,9 @@ onMount(() => { pageSection.subscribe((cs) => { - console.log(cs); currentSection = cs; }); }); - - // let currentSection = 0 {#if includeFirst ? currentSection >= 0 : currentSection > 0} @@ -31,7 +26,7 @@ out:fly={{ x: 50, duration: 300 }} class="tracker" > - {#each slides as _, i} + {#each newSlides as _, i}