From b17b32b5426baf2ce6bb18e5ecccb115061e70a2 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Mon, 5 Aug 2024 03:05:58 +0900
Subject: feat(frontend): show game type on dashboard

---
 frontend/app/routes/dashboard.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'frontend/app/routes/dashboard.tsx')

diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index e23d7aa..e6a43de 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -42,7 +42,8 @@ export default function Dashboard() {
 					<ul className="list-disc list-inside">
 						{games.map((game) => (
 							<li key={game.game_id}>
-								{game.display_name}{" "}
+								{game.display_name}
+								{game.game_type === "multiplayer" ? " (Multiplayer)" : " (1v1)"}
 								{game.state === "closed" || game.state === "finished" ? (
 									<span className="inline-block px-6 py-2 text-gray-400 bg-gray-200 cursor-not-allowed rounded">
 										Entry
-- 
cgit v1.3.1

