diff --git a/frontend/src/GameList.tsx b/frontend/src/GameList.tsx index 3121ac7..5ff1cff 100644 --- a/frontend/src/GameList.tsx +++ b/frontend/src/GameList.tsx @@ -60,7 +60,11 @@ export function GameList() { if (location.hash === "#existing-games") { const el = document.getElementById("existing-games"); if (el) { - el.scrollIntoView({ behavior: "smooth", block: "start" }); + setTimeout(() => { + el.scrollIntoView({ behavior: "smooth", block: "start" }); + }, 100); + } else { + console.error("Element not found"); } } }, [location]); @@ -466,7 +470,14 @@ export function GameList() {
-

Existing Games

+

+ Existing Games +