diff --git a/src/routes/gruppi/[slug]/+page.svelte b/src/routes/gruppi/[slug]/+page.svelte index 86250cf..a1b1f40 100644 --- a/src/routes/gruppi/[slug]/+page.svelte +++ b/src/routes/gruppi/[slug]/+page.svelte @@ -2,10 +2,8 @@ import { base } from '$app/paths'; import DataProject from '$lib/components/DataProject.svelte'; import ExperienceProject from '$lib/components/ExperienceProject.svelte'; - import { goto } from '$app/navigation'; const { data } = $props(); - $inspect(data); const sortedProjects = $derived( data.gruppo.progetti.sort((a, b) => { if (a.modulo < b.modulo) return -1; @@ -14,10 +12,6 @@ }) ); - const navigateToGroup = (slug) => { - goto(`${base}/gruppi/${slug}`); - }; - let currentIndex = $state(-1); $effect(() => { currentIndex = data?.gruppo?.gruppi?.findIndex( @@ -91,13 +85,13 @@