diff --git a/src/hooks/useTrending.ts b/src/hooks/useTrending.ts index 1e20e9e1..0a0099bf 100644 --- a/src/hooks/useTrending.ts +++ b/src/hooks/useTrending.ts @@ -143,7 +143,9 @@ export function useEventStats(eventId: string | undefined) { reactions++; // Extract the emoji from the reaction content (kind 7 events use content for the emoji) const emoji = e.content.trim(); - if (emoji && emoji !== '+' && emoji !== '-') { + if (emoji === '+' || emoji === '') { + reactionEmojiSet.add('👍'); + } else if (emoji !== '-') { reactionEmojiSet.add(emoji); } break; diff --git a/src/pages/PostDetailPage.tsx b/src/pages/PostDetailPage.tsx index 9cf4ebc2..87e5180d 100644 --- a/src/pages/PostDetailPage.tsx +++ b/src/pages/PostDetailPage.tsx @@ -175,9 +175,9 @@ function PostDetailContent({ event }: { event: NostrEvent }) { )} - {/* Stats row: "2 Reposts 1 Like" left, "Feb 16, 2026, 6:44 PM" right — Ditto style */} + {/* Stats row: "2 Reposts 1 👍" left, "Feb 16, 2026, 6:44 PM" right — Ditto style */} {hasStats && ( -