aboutsummaryrefslogtreecommitdiff
path: root/pages/user.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'pages/user.tsx')
-rw-r--r--pages/user.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/user.tsx b/pages/user.tsx
index ac6f012..a79e353 100644
--- a/pages/user.tsx
+++ b/pages/user.tsx
@@ -286,7 +286,7 @@ export default function AccountPage() {
<InfoModule icon={<ArrowUpwardOutlinedIcon style={{ color: "var(--disk-b-text)" }}/>} label={ gameInfo?.totals.win + " keer gewonnen" }/>
<InfoModule icon={<Icon size={1} path={mdiEqual}/>} label={ gameInfo?.totals.draw + " keer gelijkspel" }/>
<InfoModule icon={<ArrowDownwardOutlinedIcon style={{ color: "var(--disk-a-text)" }}/>} label={ gameInfo?.totals.lose + " keer verloren" }/>
- <InfoModule icon={<Icon size={1} path={mdiClipboardTextOutline}/>} label="Score: 400"/>
+ <InfoModule icon={<Icon size={1} path={mdiClipboardTextOutline}/>} label={ "Score: " + user?.rating }/>
<InfoModule icon={<Icon size={1} path={mdiGamepadSquareOutline}/>} label={(() => {
var label = gameInfo?.totals.games.toString() + " ";
label += gameInfo?.totals.games == 1 ? "potje" : "potjes";