aboutsummaryrefslogtreecommitdiff
path: root/pages/user.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'pages/user.tsx')
-rw-r--r--pages/user.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/pages/user.tsx b/pages/user.tsx
index a8cc9c5..280f8e2 100644
--- a/pages/user.tsx
+++ b/pages/user.tsx
@@ -109,6 +109,8 @@ export default function AccountPage() {
data: { "id": id || self_id }
});
+ console.log(userGamesReq.data)
+
setGameInfo(userGamesReq.data);
} else {
window.history.go(-1);
@@ -176,7 +178,7 @@ export default function AccountPage() {
<InfoModule icon={<Icon size={1} path={mdiGamepadSquareOutline}/>} label={ gameInfo?.totals.games + " potjes" }/>
</InfoSection>
<Vierkant>
- <RecentGames/>
+ <RecentGames games={gameInfo?.games}/>
</Vierkant>
</CenteredPage>
</div>