From 2a8545f11267de06447b3c56d8beca8d27596dab Mon Sep 17 00:00:00 2001
From: realtradam <github@tradam.dev>
Date: Sat, 29 Jun 2024 18:30:20 -0400
Subject: work on rendering games

---
 react-frontend/src/pages/Games.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'react-frontend/src/pages/Games.tsx')

diff --git a/react-frontend/src/pages/Games.tsx b/react-frontend/src/pages/Games.tsx
index 2a9b23a..b43da06 100644
--- a/react-frontend/src/pages/Games.tsx
+++ b/react-frontend/src/pages/Games.tsx
@@ -15,7 +15,7 @@ export default function Games () {
 	}, []);
 
 	const allGames = games.map((game) => (
-		<GameCard link={`/game/${game.titleSlug}`} game={game} key={game.id}/>
+		<GameCard link={`/game/${game.user.user_name}/${game.titleSlug}`} game={game} key={game.id}/>
 	));
 
 	return (
-- 
cgit v1.2.3

