diff options
| author | polwex <polwex@sortug.com> | 2025-11-19 05:47:30 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-11-19 05:47:30 +0700 |
| commit | 74d84cb2f22600b6246343e9ea606cf0db7517f0 (patch) | |
| tree | 0d68285c8e74e6543645e17ab2751d543c1ff9a6 /gui/src/components/Avatar.tsx | |
| parent | e6e657be3a3b1dae426b46f3bc16f9a5cf4861c2 (diff) | |
Big GUI improvements on Nostr rendering and fetchingpolwex/iris
Diffstat (limited to 'gui/src/components/Avatar.tsx')
| -rw-r--r-- | gui/src/components/Avatar.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
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}> |
