aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/PlayerNameAndIcon.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/components/PlayerNameAndIcon.tsx')
-rw-r--r--frontend/app/components/PlayerNameAndIcon.tsx8
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}