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 --- .../components/GolfPlayApps/GolfPlayAppGaming.tsx | 26 +++++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx') diff --git a/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx b/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx index 4730583..a6c4550 100644 --- a/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx +++ b/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx @@ -55,12 +55,26 @@ export default function GolfPlayAppGaming({
{gameDisplayName}
{leftTime}
-
- - {playerInfo.displayName} - -
{playerInfo.score}
-
+ +
+
{playerInfo.score}
+
+
Player 1
+
{playerInfo.displayName}
+
+ {playerInfo.iconPath && ( + {`${playerInfo.displayName} + )} +
+
-- cgit v1.2.3-70-g09d2