From a465c73178dc621578d10312f263355f0f2d5309 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Tue, 18 Nov 2025 09:43:16 +0700
Subject: fixes to profile handling and rendering

---
 gui/src/components/Avatar.tsx | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'gui/src/components/Avatar.tsx')

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>
+  );
 }
-- 
cgit v1.2.3

