From 922bc6a1f52d8f01600e9a61ce31963075ec59a5 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 22 Aug 2024 00:46:06 +0900 Subject: refactor(frontend): organize PlayerInfo --- frontend/app/components/PlayerProfile.tsx | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 frontend/app/components/PlayerProfile.tsx (limited to 'frontend/app/components/PlayerProfile.tsx') diff --git a/frontend/app/components/PlayerProfile.tsx b/frontend/app/components/PlayerProfile.tsx deleted file mode 100644 index 675d77b..0000000 --- a/frontend/app/components/PlayerProfile.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import { PlayerInfo as FullPlayerInfo } from "../models/PlayerInfo"; -import UserIcon from "./UserIcon"; - -type PlayerInfo = Pick; - -type Props = { - playerInfo: PlayerInfo; - label: string; -}; - -export default function PlayerProfile({ playerInfo, label }: Props) { - return ( -
-
-
{label}
-
{playerInfo.displayName}
-
- {playerInfo.iconPath && ( - - )} -
- ); -} -- cgit v1.2.3-70-g09d2