From c435e861a328317a05235edd697797ab0841a6a3 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 11 Apr 2026 19:34:50 -0700 Subject: frontend: make caught_up sentinel less intrusive if its at the top of feed --- site/src/components/NewsFeed.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'site/src/components') diff --git a/site/src/components/NewsFeed.tsx b/site/src/components/NewsFeed.tsx index 2b81fe5..8e67af3 100644 --- a/site/src/components/NewsFeed.tsx +++ b/site/src/components/NewsFeed.tsx @@ -144,12 +144,13 @@ export const NewsFeed: React.FC = ({ newsItems }) => { return (
- {feed.map((item) => { + {feed.map((item, idx) => { if ("_sentinel" in item) { + const isFirstSentinel = idx === 0; return (
-- cgit v1.2.3