summaryrefslogtreecommitdiffhomepage
path: root/react-frontend/src/pages/Games.tsx
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-06-29 18:30:20 -0400
committerrealtradam <[email protected]>2024-06-29 18:30:20 -0400
commit2a8545f11267de06447b3c56d8beca8d27596dab (patch)
treee9e4aaf0ed2436d3ca31114c739194dd351e8d09 /react-frontend/src/pages/Games.tsx
parent95088f3fdd3f593d486b55e3840cee0dbc1a5051 (diff)
downloadgameHolster-dev.tar.gz
gameHolster-dev.zip
work on rendering gamesdev
Diffstat (limited to 'react-frontend/src/pages/Games.tsx')
-rw-r--r--react-frontend/src/pages/Games.tsx2
1 files changed, 1 insertions, 1 deletions
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 (