diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-20 21:16:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-20 21:16:55 +0900 |
| commit | 0bc943a36c9992d1098d92812b19b70d371e6a0d (patch) | |
| tree | 892b423d6f47ab8d58b0f4e9abfbe0e5595f4243 /frontend/app/components/PlayerNameAndIcon.tsx | |
| parent | f53005455c19f822fb66c6ed78fcba44a3e45196 (diff) | |
| download | phperkaigi-2025-albatross-0bc943a36c9992d1098d92812b19b70d371e6a0d.tar.gz phperkaigi-2025-albatross-0bc943a36c9992d1098d92812b19b70d371e6a0d.tar.zst phperkaigi-2025-albatross-0bc943a36c9992d1098d92812b19b70d371e6a0d.zip | |
feat(frontend): remove "player 1" or "player 2" labels
Diffstat (limited to 'frontend/app/components/PlayerNameAndIcon.tsx')
| -rw-r--r-- | frontend/app/components/PlayerNameAndIcon.tsx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/frontend/app/components/PlayerNameAndIcon.tsx b/frontend/app/components/PlayerNameAndIcon.tsx index c9c7f20..92b757d 100644 --- a/frontend/app/components/PlayerNameAndIcon.tsx +++ b/frontend/app/components/PlayerNameAndIcon.tsx @@ -2,17 +2,13 @@ import { PlayerProfile } from "../types/PlayerProfile"; import UserIcon from "./UserIcon"; type Props = { - label: string; profile: PlayerProfile; }; -export default function PlayerNameAndIcon({ label, profile }: Props) { +export default function PlayerNameAndIcon({ profile }: Props) { return ( <div className="flex flex-col gap-6 my-auto items-center"> - <div className="flex flex-col gap-2"> - <div className="text-4xl">{label}</div> - <div className="text-6xl">{profile.displayName}</div> - </div> + <div className="text-6xl">{profile.displayName}</div> {profile.iconPath && ( <UserIcon iconPath={profile.iconPath} |
