From b923a9d6534820d33f42bc65c47ae22889bde922 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 17 Aug 2024 21:10:03 +0900 Subject: feat(frontend): show player icon --- .../GolfWatchApps/GolfWatchAppGaming.tsx | 38 ++++++++++++++++++---- 1 file changed, 32 insertions(+), 6 deletions(-) (limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx') diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx index c4c3a53..63c232b 100644 --- a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx +++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx @@ -47,9 +47,22 @@ export default function GolfWatchAppGaming({
-
-
Player 1
-
{playerInfoA.displayName}
+
+ {playerInfoA.iconPath && ( + {`${playerInfoA.displayName} + )} +
+
Player 1
+
{playerInfoA.displayName}
+
{playerInfoA.score}
@@ -59,9 +72,22 @@ export default function GolfWatchAppGaming({
{playerInfoB.score}
-
-
Player 2
-
{playerInfoB.displayName}
+
+
+
Player 2
+
{playerInfoB.displayName}
+
+ {playerInfoB.iconPath && ( + {`${playerInfoB.displayName} + )}
-- cgit v1.2.3-70-g09d2