diff options
| author | polwex <polwex@sortug.com> | 2025-11-18 09:43:16 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-11-18 09:43:16 +0700 |
| commit | a465c73178dc621578d10312f263355f0f2d5309 (patch) | |
| tree | 08a0b655835d4c08d45e8e3e8f52601f7911044b /gui/src/components/Avatar.tsx | |
| parent | 7706acaafa89691dba33c216e6287a8405c4c302 (diff) | |
fixes to profile handling and rendering
Diffstat (limited to 'gui/src/components/Avatar.tsx')
| -rw-r--r-- | gui/src/components/Avatar.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/src/components/Avatar.tsx b/gui/src/components/Avatar.tsx index a071655..2b38848 100644 --- a/gui/src/components/Avatar.tsx +++ b/gui/src/components/Avatar.tsx @@ -43,7 +43,7 @@ export default function ({ function openModal(e: React.MouseEvent) { if (noClickOnName) return; e.stopPropagation(); - setModal(<UserModal user={user} userString={userString} />); + setModal(<UserModal userString={userString} />); } const name = ( <div className="name cp" role="link" onMouseUp={openModal}> @@ -58,5 +58,10 @@ export default function ({ )} </div> ); - return <div className="ship-avatar">{name}</div>; + return ( + <div className="ship-avatar"> + {avatar} + {name} + </div> + ); } |
