aboutsummaryrefslogtreecommitdiff
path: root/components/recentGames.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-17 17:25:11 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-17 17:25:11 +0200
commit59459df904674bc3eaa95f4203113793c7c7fc9a (patch)
tree5d676f16a8c68859b8bc6c44c4ff535e15d34349 /components/recentGames.tsx
parentdd77d6bb276f6a70b36f69d11cde7f5c8995f5e1 (diff)
dprint fmt
Diffstat (limited to 'components/recentGames.tsx')
-rw-r--r--components/recentGames.tsx12
1 files changed, 7 insertions, 5 deletions
diff --git a/components/recentGames.tsx b/components/recentGames.tsx
index 65c819a..d619eeb 100644
--- a/components/recentGames.tsx
+++ b/components/recentGames.tsx
@@ -29,11 +29,13 @@ function GameOutcome(props: { game: gameInfo; }) {
}[props.game.status]();
})();
return <td>
- <span className={"outcome " + {
- 'w': 'win',
- 'l': 'lose',
- 'd': 'draw',
- }[props.game.outcome]}>
+ <span
+ className={'outcome ' + {
+ 'w': 'win',
+ 'l': 'lose',
+ 'd': 'draw',
+ }[props.game.outcome]}
+ >
{gameStatus}
</span>
</td>;