From 2489de798d96ff6f2f39762a6bcd0f5d1514f383 Mon Sep 17 00:00:00 2001 From: Froidefond Julien Date: Wed, 25 Mar 2026 16:48:00 +0100 Subject: [PATCH] feat(gif-mood): hide empty sections for participants without GIFs Co-Authored-By: Claude Sonnet 4.6 --- src/components/gif-mood/GifMoodBoard.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/gif-mood/GifMoodBoard.tsx b/src/components/gif-mood/GifMoodBoard.tsx index 9da13be..ce88ad2 100644 --- a/src/components/gif-mood/GifMoodBoard.tsx +++ b/src/components/gif-mood/GifMoodBoard.tsx @@ -310,6 +310,9 @@ export function GifMoodBoard({ const isHidden = userRatingEntry?.hidden ?? false; const showHidden = !isCurrentUser && isHidden; + // Skip participants who haven't added any GIFs yet (except current user) + if (!isCurrentUser && userItems.length === 0) return null; + return (
{/* Section header */}