diff --git a/app/components/new-landing/sections/Games.tsx b/app/components/new-landing/sections/Games.tsx index 4a6f9423..07be3c40 100644 --- a/app/components/new-landing/sections/Games.tsx +++ b/app/components/new-landing/sections/Games.tsx @@ -30,6 +30,7 @@ import TOE_BACKGROUND from "~/../public/img/new-landing/game-backgrounds/The_ToE import { twMerge } from "tailwind-merge"; import { ChevronRightIcon } from "../misc/Icons"; +import { set } from "nprogress"; const games = [ { @@ -92,11 +93,25 @@ const Games = () => { /> {/* Carousel container */} -
+
{games.map((game) => (
{ + if (!(activeGame === games.indexOf(game))) { + setActiveGame(games.indexOf(game)); + } + }} > - {/* */} +