From 74d84cb2f22600b6246343e9ea606cf0db7517f0 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Wed, 19 Nov 2025 05:47:30 +0700
Subject: Big GUI improvements on Nostr rendering and fetching

---
 gui/src/components/Avatar.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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

diff --git a/gui/src/components/Avatar.tsx b/gui/src/components/Avatar.tsx
index 2b38848..664bc90 100644
--- a/gui/src/components/Avatar.tsx
+++ b/gui/src/components/Avatar.tsx
@@ -7,7 +7,6 @@ import UserModal from "./modals/UserModal";
 
 export default function ({
   user,
-  userString,
   size,
   color,
   noClickOnName,
@@ -24,7 +23,6 @@ export default function ({
 }) {
   const { setModal } = useLocalState((s) => ({ setModal: s.setModal }));
   // TODO revisit this when %whom updates
-  console.log({ profile });
   const avatarInner = profile ? (
     <img src={profile.picture} width={size} height={size} />
   ) : "urbit" in user && isValidPatp(user.urbit) ? (
@@ -43,7 +41,7 @@ export default function ({
   function openModal(e: React.MouseEvent) {
     if (noClickOnName) return;
     e.stopPropagation();
-    setModal(<UserModal userString={userString} />);
+    setModal(<UserModal user={user} />);
   }
   const name = (
     <div className="name cp" role="link" onMouseUp={openModal}>
-- 
cgit v1.2.3

