From 6873bd8f70319a00fdcc581ade4c0cb2294cf2a2 Mon Sep 17 00:00:00 2001 From: eric Date: Wed, 18 Mar 2026 02:05:21 -0500 Subject: [PATCH] 's' --- app/components/HeroSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/HeroSection.tsx b/app/components/HeroSection.tsx index b6911ed..def65b8 100644 --- a/app/components/HeroSection.tsx +++ b/app/components/HeroSection.tsx @@ -11,7 +11,7 @@ import { mergeJoiners, getUniqueDbCount } from "@/app/lib/joiners"; import { useXhClickOpener } from "@/app/hooks/useXhClickOpener"; function HeroAvatarItem({ joiner }: { joiner: { name?: string; nickname?: string; avatar?: string; xiaohongshu_url?: string } }) { - const nickname = "name" in joiner ? joiner.name : joiner.nickname ?? ""; + const nickname = ("name" in joiner ? joiner.name : joiner.nickname) ?? ""; const avatar = joiner.avatar; const xhUrl = joiner.xiaohongshu_url; const showAvatar = avatar && avatar.length > 0;