From 8367ecd905b76a432e487ec9385aca155bb161e1 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 3 Dec 2023 21:17:49 -0800
Subject: feat(tools): serialise settings into url

---
 src/lib/Tools/SequelSpy.svelte | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/lib/Tools/SequelSpy.svelte')

diff --git a/src/lib/Tools/SequelSpy.svelte b/src/lib/Tools/SequelSpy.svelte
index a6beb21e..1d1fca69 100644
--- a/src/lib/Tools/SequelSpy.svelte
+++ b/src/lib/Tools/SequelSpy.svelte
@@ -2,6 +2,8 @@
 	import type { AniListAuthorisation } from '$lib/AniList/identity';
 	import { prequels, type MediaPrequel } from '$lib/AniList/prequels';
 	import MediaTitle from '$lib/List/MediaTitleDisplay.svelte';
+	import { onMount } from 'svelte';
+	import { clearAllParameters } from './tool';
 
 	export let user: AniListAuthorisation;
 
@@ -22,6 +24,8 @@
 	})();
 
 	$: currentPrequels = prequels(user, year, season);
+
+	onMount(clearAllParameters);
 </script>
 
 <p>
-- 
cgit v1.2.3

