;
+ return function (this: any, ...args: any[]) {
+ clearTimeout(timeoutId);
+ timeoutId = setTimeout(() => fn.apply(this, args), ms);
+ };
+};
diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte
index 80a15c5..c1f4ea5 100644
--- a/frontend/src/routes/+page.svelte
+++ b/frontend/src/routes/+page.svelte
@@ -37,7 +37,7 @@
-