<script lang="ts">
	import { onMount } from 'svelte';
	import { goto } from '$app/navigation';

	// Ratings moved into /tags as a tab. Redirect on mount so old bookmarks
	// and any in-app links still land somewhere meaningful. Uses
	// replaceState so the browser back button skips the redirect hop.
	onMount(() => {
		void goto('/tags?tab=ratings', { replaceState: true });
	});
</script>

<p class="p-6 text-sm text-muted-foreground">Redirecting to Tags · Ratings…</p>
