Display more news items in the widget

Update the news widget to show 6 news items instead of 3.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 29c139a1-6721-41e3-93d9-911f4e2ecfa2
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/drGbo1a
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
sebastjanartic 2026-02-28 21:33:21 +00:00
parent 10d4539b59
commit 8b2cd02a94
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

View File

@ -9,7 +9,7 @@ interface NewsItem {
pubDate: string; pubDate: string;
} }
const VISIBLE_COUNT = 3; const VISIBLE_COUNT = 6;
export function NewsWidget() { export function NewsWidget() {
const { data: news, isLoading } = useQuery<NewsItem[]>({ const { data: news, isLoading } = useQuery<NewsItem[]>({