From 8327e1a3008491f9f939a63a1af3671e435c18ff Mon Sep 17 00:00:00 2001 From: Syco21 Date: Sun, 29 Mar 2026 20:34:00 +0200 Subject: [PATCH] Revert "fixfix?" This reverts commit 0ec22cbdc8fb381e1075387245eabeab077c5900. --- src/pages/HomePage.jsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/pages/HomePage.jsx b/src/pages/HomePage.jsx index 5a26cce..60ad4c1 100644 --- a/src/pages/HomePage.jsx +++ b/src/pages/HomePage.jsx @@ -9,10 +9,12 @@ 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; } @@ -51,13 +53,14 @@ function HomePage() { .sort((a, b) => a.name.localeCompare(b.name)); return ( -
+
{/* Main content scrollable area */} -
+
{/* Left panel: card list */}

Card List

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