From 7e3c7c14d3e7940bc310784e852082504b2760ce Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 29 Jan 2026 19:19:50 -0800
Subject: fix: Resolve all ESLint errors and warnings

---
 src/lib/Layout/Dropdown.svelte | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'src/lib/Layout/Dropdown.svelte')

diff --git a/src/lib/Layout/Dropdown.svelte b/src/lib/Layout/Dropdown.svelte
index b0923fb2..e7e00272 100644
--- a/src/lib/Layout/Dropdown.svelte
+++ b/src/lib/Layout/Dropdown.svelte
@@ -13,8 +13,8 @@
 
   let open = false;
 
-  const handleClickOutside = (event: any) => {
-    if (!event.target.closest('.dropdown')) open = false;
+  const handleClickOutside = (event: MouseEvent) => {
+    if (!(event.target as HTMLElement).closest('.dropdown')) open = false;
   };
 </script>
 
@@ -35,7 +35,9 @@
 
       open = !open;
     }}
-    onkeydown={() => {}}
+    onkeydown={(_e) => {
+      // if (e.key === 'Enter' || e.key === ' ') open = !open;
+    }}
     role="button"
     tabindex="0"
   >
-- 
cgit v1.2.3

