From 0ec22cbdc8fb381e1075387245eabeab077c5900 Mon Sep 17 00:00:00 2001 From: Syco21 Date: Sun, 29 Mar 2026 20:32:56 +0200 Subject: [PATCH] fixfix? --- src/pages/HomePage.jsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/pages/HomePage.jsx b/src/pages/HomePage.jsx index 60ad4c1..5a26cce 100644 --- a/src/pages/HomePage.jsx +++ b/src/pages/HomePage.jsx @@ -9,12 +9,10 @@ import Footer from '../components/Footer/Footer'; // Debounce hook function useDebouncedValue(value, delay = 250) { const [debounced, setDebounced] = useState(value); - useEffect(() => { const handler = setTimeout(() => setDebounced(value), delay); return () => clearTimeout(handler); }, [value, delay]); - return debounced; } @@ -53,14 +51,13 @@ function HomePage() { .sort((a, b) => a.name.localeCompare(b.name)); return ( -
+
{/* Main content scrollable area */} -
+
{/* Left panel: card list */}

Card List

-
- {/* Footer at the bottom */} -
); }