diff options
Diffstat (limited to 'frontend/app/components/PlayerNameAndIcon.tsx')
| -rw-r--r-- | frontend/app/components/PlayerNameAndIcon.tsx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/frontend/app/components/PlayerNameAndIcon.tsx b/frontend/app/components/PlayerNameAndIcon.tsx index 92b757d..56423c1 100644 --- a/frontend/app/components/PlayerNameAndIcon.tsx +++ b/frontend/app/components/PlayerNameAndIcon.tsx @@ -2,20 +2,20 @@ import { PlayerProfile } from "../types/PlayerProfile"; import UserIcon from "./UserIcon"; type Props = { - profile: PlayerProfile; + profile: PlayerProfile; }; export default function PlayerNameAndIcon({ profile }: Props) { - return ( - <div className="flex flex-col gap-6 my-auto items-center"> - <div className="text-6xl">{profile.displayName}</div> - {profile.iconPath && ( - <UserIcon - iconPath={profile.iconPath} - displayName={profile.displayName} - className="w-48 h-48" - /> - )} - </div> - ); + return ( + <div className="flex flex-col gap-6 my-auto items-center"> + <div className="text-6xl">{profile.displayName}</div> + {profile.iconPath && ( + <UserIcon + iconPath={profile.iconPath} + displayName={profile.displayName} + className="w-48 h-48" + /> + )} + </div> + ); } |
