mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-08 00:34:59 -05:00
fix: avatar
This commit is contained in:
parent
88e703625c
commit
76fb82868f
@ -53,13 +53,19 @@ export function ServerMainPage({
|
|||||||
<p className="w-full">
|
<p className="w-full">
|
||||||
<div className="lg:flex justify-between w-full">
|
<div className="lg:flex justify-between w-full">
|
||||||
<h1 className="text-2xl font-bold flex items-center gap-1 ml-2">
|
<h1 className="text-2xl font-bold flex items-center gap-1 ml-2">
|
||||||
|
{mhsfData.server?.customizationData.userProfilePicture && (
|
||||||
<Avatar className="h-[32px] w-[32px]">
|
<Avatar className="h-[32px] w-[32px]">
|
||||||
<AvatarImage
|
<AvatarImage
|
||||||
src={mhsfData.server?.customizationData.userProfilePicture ?? ""}
|
src={
|
||||||
|
mhsfData.server?.customizationData.userProfilePicture ??
|
||||||
|
""
|
||||||
|
}
|
||||||
alt="Server Owner Image"
|
alt="Server Owner Image"
|
||||||
/>
|
/>
|
||||||
<AvatarFallback>{server.name[0]}</AvatarFallback>
|
<AvatarFallback>{server.name[0]}</AvatarFallback>
|
||||||
</Avatar>
|
</Avatar>
|
||||||
|
)}
|
||||||
|
|
||||||
{server.name}
|
{server.name}
|
||||||
</h1>
|
</h1>
|
||||||
<span>
|
<span>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user