fix(evaluations): prevent duplicate leaderboard API requests on navigation (#25934)

This commit is contained in:
G30 authored and GitHub committed 2026-06-17 00:16:27 +02:00
1 parent 5f3a628a8d
commit 6f2e97aa58
1 file changed
-4
@@ -2,11 +2,7 @@
import { goto } from '$app/navigation'; import { goto } from '$app/navigation';
import { onMount } from 'svelte'; import { onMount } from 'svelte';
import Evaluations from '$lib/components/admin/Evaluations.svelte';
onMount(() => { onMount(() => {
goto('/admin/evaluations/leaderboard'); goto('/admin/evaluations/leaderboard');
}); });
</script> </script>
<Evaluations />