Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

fix: declare fileInput with $state() to resolve Svelte 5 reactivity warning

InstaZDLL7771b83c1128
diff --git a/src/routes/udemy/+page.svelte b/src/routes/udemy/+page.svelte
index b2c383fe..877e42fd 100644
--- a/src/routes/udemy/+page.svelte
+++ b/src/routes/udemy/+page.svelte
@@ -129,7 +129,7 @@
}
}
- let fileInput: HTMLInputElement;
+ let fileInput: HTMLInputElement = $state() as HTMLInputElement;
function loadCookieFile() {
fileInput.click();