From 6031c81f5394acf315b277302a7fd18ea288b506 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 19 Aug 2024 04:40:08 +0900 Subject: refactor(frontend): extract UserIcon component --- frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 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 e9139ba..e6cb7e9 100644 --- a/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx +++ b/frontend/app/components/GolfPlayApps/GolfPlayAppGaming.tsx @@ -4,6 +4,7 @@ import SubmitButton from "../../components/SubmitButton"; import type { PlayerInfo } from "../../models/PlayerInfo"; import BorderedContainer from "../BorderedContainer"; import SubmitResult from "../Gaming/SubmitResult"; +import UserIcon from "../UserIcon"; type Props = { gameDisplayName: string; @@ -60,14 +61,10 @@ export default function GolfPlayAppGaming({
{playerInfo.displayName}
{playerInfo.iconPath && ( - {`${playerInfo.displayName} )} -- cgit v1.2.3-70-g09d2