diff --git a/src/components/InteractionsModal.tsx b/src/components/InteractionsModal.tsx
index 0f96272f..3bc22d14 100644
--- a/src/components/InteractionsModal.tsx
+++ b/src/components/InteractionsModal.tsx
@@ -132,7 +132,7 @@ function RepostsTab({ reposts }: { reposts: RepostEntry[] }) {
return (
{reposts.map((repost, i) => (
-
+
))}
);
@@ -231,6 +231,44 @@ function ZapsTab({ zaps }: { zaps: ZapEntry[] }) {
/* ──── Shared Row Components ──── */
+function RepostRow({ entry }: { entry: RepostEntry }) {
+ const author = useAuthor(entry.pubkey);
+ const metadata = author.data?.metadata;
+ const avatarShape = getAvatarShape(metadata);
+ const displayName = metadata?.name || genUserName(entry.pubkey);
+ const nevent = useMemo(() => nip19.neventEncode({ id: entry.eventId, author: entry.pubkey }), [entry.eventId, entry.pubkey]);
+
+ return (
+
+
+
+
+ {displayName[0].toUpperCase()}
+
+
+
+
+
+
+ {author.data?.event ? (
+ {displayName}
+ ) : displayName}
+
+ {metadata?.nip05 && (
+
+ )}
+
+
{timeAgo(entry.createdAt)}
+
+
+
+
+ );
+}
+
function ReactionRow({ entry }: { entry: ReactionEntry }) {
const author = useAuthor(entry.pubkey);
const metadata = author.data?.metadata;
@@ -269,43 +307,6 @@ function ReactionRow({ entry }: { entry: ReactionEntry }) {
);
}
-function UserRow({ pubkey, subtitle }: { pubkey: string; subtitle?: string }) {
- const author = useAuthor(pubkey);
- const metadata = author.data?.metadata;
- const avatarShape = getAvatarShape(metadata);
- const displayName = metadata?.name || genUserName(pubkey);
- const npub = useMemo(() => nip19.npubEncode(pubkey), [pubkey]);
-
- return (
-
-
-
-
- {displayName[0].toUpperCase()}
-
-
-
-
-
-
- {author.data?.event ? (
- {displayName}
- ) : displayName}
-
- {metadata?.nip05 && (
-
- )}
-
- {subtitle && (
-
{subtitle}
- )}
-
-
- );
-}
function ZapRow({ zap }: { zap: ZapEntry }) {
const author = useAuthor(zap.senderPubkey);